/* Definitive late-cascade workspace geometry. */
.result-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
  width: 100%;
}

.result-view,
.result-summary {
  width: 100%;
  min-width: 0;
  max-width: none;
  justify-self: stretch;
  align-self: start;
  box-sizing: border-box;
}

.result-summary {
  align-items: stretch;
}

.result-summary > *,
.result-summary .result-cards,
.result-summary .action-row {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.result-layout .compare {
  width: 100%;
  aspect-ratio: 4 / 5;
}

@media (max-width: 800px) {
  .result-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Readable process section hierarchy. */
.how .eyebrow {
  font-size: 16px;
  font-weight: 800;
}

.how article > span {
  display: block;
  color: var(--coral);
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  margin-bottom: 24px;
}

.how h3 {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 30px;
  line-height: 1.35;
  font-weight: 800;
}

.how p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
  font-weight: 500;
}

.how article {
  padding: 30px 8px 38px;
}

/* Compact placeholder sample selector for stage one. */
.sample-picker {
  margin: 14px 0 16px;
}

.sample-picker > p {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.sample-options {
  display: flex;
  gap: 12px;
}

.sample-option {
  position: relative;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  font-family: inherit;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.sample-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sample-option span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 8px;
  background: rgba(6,63,56,.58);
  color: #fff;
  font-size: 9px;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
}

.sample-option:hover,
.sample-option:focus-visible,
.sample-option.active {
  transform: translateY(-2px);
  border-color: var(--coral);
  box-shadow: 0 5px 14px rgba(6,63,56,.18);
  outline: none;
}

/* Experience-first entry, with the brand presented without decoration. */
.site-header .brand { background: none; border: 0; border-radius: 0; box-shadow: none; }
.site-header nav a { padding-block: 10px; }
.site-header nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; }
.workspace-section { padding-top: 38px; }
.workspace-head { gap: 32px; margin-bottom: 28px; }
.workspace-head .eyebrow { margin-bottom: 12px; }
.workspace-head h1 { font-size: clamp(32px, 4.5vw, 54px); line-height: 1.3; letter-spacing: -1px; margin: 0; }
.about-intro { padding-block: 64px 24px; }
.about-intro h1 { font-size: clamp(38px, 6vw, 72px); letter-spacing: -2px; line-height: 1.3; margin-bottom: 20px; }
.about-intro p, .tools-intro { max-width: 760px; color: var(--muted); font-size: 17px; line-height: 1.9; }
.about-intro .primary-link { margin-top: 12px; }
.tools-section h2 { font-size: 36px; color: var(--green); }
.tools-intro { margin-bottom: 32px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 5px; }
#workspace, #how, #reference, #tools { scroll-margin-top: 100px; }
@media (max-width: 800px) {
  .site-header { height: auto; min-height: 74px; gap: 16px; flex-wrap: wrap; padding-block: 10px; }
  .site-header .brand { height: 46px; width: 100px; }
  .site-header .brand img { width: 100px; height: 46px; transform: none; }
  .site-header nav { display: flex; gap: 20px; order: 3; width: 100%; margin: 0; border-top: 1px solid #ffffff26; }
  .site-header nav a { font-size: 12px; }
  .site-header .prototype-pill { margin-right: auto; }
  .workspace-head { gap: 8px; }
  .workspace-head > p { margin-top: 4px; }
  .workspace-section { padding-top: 28px; }
  .about-intro { padding-top: 40px; }
}
