/* Editorial growth library and native workflow examples. */
.hero-team {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  max-width: 1030px;
  margin: 58px auto 0;
  padding: 18px;
  background: #ffffffdc;
  border: 1px solid #fff;
  border-radius: 28px;
  text-align: left;
  box-shadow: 0 22px 60px #54433910;
  position: relative;
}
.hero-team-portrait {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.hero-team-film {
  flex: 1;
  min-height: 340px;
}
.hero-team-film video {
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}
.team-caption {
  font-size: 11px;
  text-align: center;
  padding: 14px 4px;
  color: #68615b;
}
.hero-team-work {
  padding: 22px 24px 12px 0;
  min-width: 0;
}
.hero-team-work .between {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.hero-team-work h2 {
  font-size: 48px;
  line-height: 1.18;
  margin: 25px 0;
}
.hero-opportunities {
  display: grid;
  gap: 6px;
}
.hero-opportunities a {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.hero-opportunities strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.hero-opportunities small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.hero-team-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 18px;
}
.hero-agent-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 1030px;
  margin: 15px auto 0;
  padding-bottom: 45px;
  gap: 9px;
  position: relative;
}
.hero-agent-row a {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #ffffffbf;
  padding: 13px 11px;
  border: 1px solid #fff;
  border-radius: 13px;
  font-size: 11px;
  transition:
    transform 0.2s,
    background 0.2s;
}
.hero-agent-row a:hover {
  transform: translateY(-3px);
  background: white;
}
.hero-agent-row a > span:last-child {
  margin-left: auto;
}
.hero-agent-row small {
  display: block;
  font-size: 9px;
  color: var(--muted);
}
.output-heading {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 45px;
}
.output-heading h2 {
  margin-bottom: 0;
}
.output-heading > p {
  color: var(--muted);
  max-width: 400px;
}
.output-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.output-steps article {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.output-steps article > span {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--warm);
}
.output-steps h3 {
  font-size: 28px;
  margin: 10px 0;
}
.output-steps p {
  font-size: 13px;
  color: var(--muted);
  max-width: 430px;
}
.output-artifact {
  padding: 35px;
  border: 1px solid #e7dfd6;
  border-radius: 22px;
  background: linear-gradient(145deg, #fffaf4, #f5f8f7);
  box-shadow: 0 18px 45px #29252509;
}
.output-artifact > .overline {
  display: block;
  margin: 20px 0 10px;
}
.output-artifact > h3 {
  font-size: 36px;
  line-height: 1.18;
}
.output-artifact ul {
  list-style: none;
  margin: 25px 0;
  padding: 0;
}
.output-artifact li {
  font-size: 13px;
  padding: 15px 0 15px 22px;
  border-bottom: 1px solid #dedbd5;
  position: relative;
}
.output-artifact li:before {
  content: "↗";
  position: absolute;
  left: 0;
  color: var(--warm);
}
.output-artifact > small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 20px;
}
.output-review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.output-review summary {
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  padding: 16px;
  cursor: pointer;
  gap: 12px;
}
.output-review > div {
  padding: 0 16px 20px;
  font-size: 12px;
}
.output-review p {
  color: var(--muted);
}
.stack-section {
  background: #f7f6f4;
}
.stack-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: start;
}
.stack-options {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  min-width: 0;
}
.stack-options legend {
  font-size: 13px;
  margin-bottom: 20px;
}
.stack-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 17px 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  min-width: 0;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.stack-option:has(input:checked) {
  border-color: #a96a35;
  background: #fff6eb;
}
.stack-option:focus-within {
  outline: 2px solid #88502c;
  outline-offset: 3px;
}
.stack-option input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  cursor: pointer;
  margin: 0;
}
.stack-option img {
  object-fit: contain;
  flex-shrink: 0;
}
.stack-option strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
}
.stack-option small {
  display: block;
  font-size: 9px;
  color: var(--muted);
}
.stack-check {
  margin-left: auto;
  border: 1px solid #c9c3bb;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: transparent;
  flex-shrink: 0;
}
.stack-option:has(input:checked) .stack-check {
  color: #fff;
  background: #945220;
  border-color: #945220;
}
.stack-reset {
  grid-column: 1/-1;
  justify-self: start;
  background: none;
  border: 0;
  padding: 12px 0;
  cursor: pointer;
}
.stack-results {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
}
.stack-results > h3 {
  font-size: 36px;
  margin: 14px 0;
}
.stack-results > p {
  font-size: 12px;
  color: var(--muted);
}
.stack-agent-list {
  margin: 22px 0;
}
.stack-agent-list article {
  display: flex;
  gap: 13px;
  border-top: 1px solid var(--line);
  padding: 15px 0;
  align-items: start;
}
.stack-agent-list a {
  font-size: 13px;
  font-weight: 500;
}
.stack-agent-list p {
  font-size: 11px;
  margin: 3px 0;
  color: var(--muted);
}
.stack-agent-list small {
  font-size: 10px;
  color: var(--warm);
}
.stack-selected-guides {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 10px;
}
.stack-selected-guides > span {
  width: 100%;
  color: var(--muted);
}
.stack-selected-guides a {
  background: var(--soft);
  padding: 5px 9px;
  border-radius: 5px;
}
.stack-scope {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 12px;
}
.demo-context {
  padding: 18px;
  background: #fff6eb;
  border: 1px solid #edd8bd;
  border-radius: 12px;
  margin: 10px 0 20px;
}
.demo-context p {
  margin: 8px 0 0;
  font-size: 12px;
}
.case-teaser-grid,
.case-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  align-items: center;
}
.case-teaser-grid > div > p {
  max-width: 420px;
  color: var(--muted);
  font-size: 14px;
  margin: 25px 0;
}
.case-editorial,
.case-cover {
  background:
    radial-gradient(ellipse at 95% 15%, #664c39, transparent 60%), #202120;
  color: #fff;
  min-height: 455px;
  padding: 38px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 35px;
  position: relative;
  overflow: hidden;
}
.case-editorial:after,
.case-cover:after {
  content: "";
  position: absolute;
  width: 220px;
  height: 420px;
  border: 1px solid #ffffff14;
  right: -70px;
  top: -40px;
  transform: rotate(30deg);
  border-radius: 100%;
  pointer-events: none;
}
.case-wordmark {
  font-family: var(--sans);
  font-size: 54px;
  letter-spacing: -4px;
  font-weight: 600;
  line-height: 1;
}
.case-editorial h3 {
  font-size: 52px;
  line-height: 1.18;
  margin: 15px 0;
}
.case-editorial em,
.case-cover em {
  color: #ffc58d;
}
.case-editorial .overline,
.case-cover .overline {
  color: #e2c3a7;
}
.case-footnote {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  font-size: 10px;
  color: #d2cec7;
}
.case-hero,
.learning-hero {
  padding: 130px 0 70px;
}
.case-hero h1,
.learning-hero h1 {
  font-size: 66px;
  line-height: 1.18;
  letter-spacing: 0;
}
.case-hero-grid > div > p,
.learning-hero-grid > div > p {
  font-size: 15px;
  color: #605c59;
  max-width: 590px;
  margin: 25px 0;
}
.case-cover > div > p {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1.14;
  margin: 15px 0;
}
.case-cover > span:last-child {
  font-size: 11px;
  color: #d2cec7;
}
.case-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 0 28px;
  border-bottom: 1px solid var(--line);
}
.case-facts strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.15;
}
.case-facts span {
  display: block;
  max-width: 230px;
  color: var(--muted);
  font-size: 12px;
  margin-top: 10px;
}
.case-evidence-note {
  font-size: 11px;
  color: var(--muted);
  margin: 18px 0 65px;
}
.case-workflow {
  padding-left: 22px;
}
.case-workflow > li {
  padding-left: 8px;
  margin: 25px 0;
}
.case-workflow strong {
  font-weight: 500;
}
.cluster-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.cluster-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #faf9f7;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.cluster-card:nth-child(2) {
  background: #f4f7f2;
}
.cluster-card:nth-child(3) {
  background: #f1f6f7;
}
.cluster-card:nth-child(4) {
  background: #f8f2ef;
}
.cluster-card:hover,
.topic-card:hover {
  transform: translateY(-4px);
  border-color: #cba67e;
}
.cluster-card h3 {
  font-size: 31px;
  line-height: 1.18;
  margin: 24px 0 15px;
}
.cluster-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 24px;
}
.cluster-card .text-link {
  margin-top: auto;
  font-size: 11px;
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.topic-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  border: 1px solid var(--line);
  background: #fff;
  padding: 28px;
  border-radius: 18px;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.topic-card h3 {
  font-size: 31px;
  line-height: 1.18;
  margin: 22px 0 14px;
}
.topic-card p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 26px;
}
.topic-card .text-link {
  margin-top: auto;
  font-size: 11px;
}
.learning-hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr;
  gap: 80px;
  align-items: center;
}
.learning-compass {
  background: #ffffffb8;
  border: 1px solid #fff;
  border-radius: 18px;
  padding: 28px;
}
.learning-compass > p {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.15;
  margin: 20px 0 25px;
}
.learning-compass > a {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 10px;
  border-top: 1px solid #d4cdc3;
  padding-top: 20px;
}
.learning-compass strong {
  font-weight: 500;
  font-size: 12px;
}
.learning-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 35px;
  margin-top: 35px;
}
.learning-footer a {
  font-size: 12px;
}
.topic-parent {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.worked-example {
  background: #fbf4e9;
  border: 1px solid #ebdfcd;
  padding: 25px;
  border-radius: 14px;
}
.prose .worked-example h2 {
  margin-top: 15px;
}
.source-notes {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 20px;
}
.source-notes > p {
  font-size: 11px;
}
.related-heading {
  margin-bottom: 35px;
}
.topic-context {
  margin: 35px 0;
  padding: 22px;
  background: var(--soft);
  border-radius: 12px;
}
.topic-context h3 {
  font-size: 25px;
  margin: 0 0 15px;
}
.topic-context a {
  display: block;
  font-size: 13px;
  margin: 10px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.attribution-explorer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  padding: 35px;
  background: #f7f6f3;
  border: 1px solid var(--line);
  border-radius: 20px;
  margin: 45px 0 65px;
}
.attribution-explorer h3 {
  font-size: 39px;
  line-height: 1.18;
  margin: 20px 0;
}
.attribution-explorer p {
  font-size: 13px;
  color: #68625a;
}
.attribution-value {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 11px;
  margin: 25px 0;
}
.attribution-value input {
  width: 105px;
  border: 1px solid #bfb8ae;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  font: inherit;
  font-size: 14px;
}
.attribution-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.attribution-buttons button {
  font: inherit;
  font-size: 11px;
  padding: 10px 13px;
  border-radius: 30px;
  border: 1px solid #d6cfc5;
  background: #fff;
  cursor: pointer;
}
.attribution-buttons [aria-pressed="true"] {
  background: #292927;
  color: white;
  border-color: #292927;
}
.attribution-result {
  padding: 25px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  align-self: center;
}
.credit-row {
  margin-bottom: 22px;
}
.credit-row > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
}
.credit-row strong {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.credit-row meter {
  display: block;
  width: 100%;
  height: 12px;
  margin-top: 9px;
  border: 0;
  background: #eee8e0;
  border-radius: 8px;
}
.credit-row meter::-webkit-meter-bar {
  background: #eee8e0;
  border: 0;
}
.credit-row meter::-webkit-meter-optimum-value {
  background: #eaa66b;
}
.credit-row meter::-moz-meter-bar {
  background: #eaa66b;
}
.attribution-result > small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  line-height: 1.6;
}
.stack-agent-list [hidden],
.stack-selected-guides [hidden] {
  display: none !important;
}
@media (max-width: 1000px) {
  .hero-team {
    gap: 20px;
  }
  .hero-team-work {
    padding-right: 10px;
  }
  .hero-agent-row {
    gap: 5px;
  }
  .hero-agent-row a {
    padding: 10px 6px;
    gap: 5px;
  }
  .hero-agent-row .agent-icon {
    width: 28px;
    height: 28px;
  }
  .cluster-grid {
    grid-template-columns: 1fr 1fr;
  }
  .learning-hero-grid {
    gap: 35px;
  }
  .learning-hero h1,
  .case-hero h1 {
    font-size: 54px;
  }
  .case-teaser-grid,
  .case-hero-grid,
  .output-grid {
    gap: 35px;
  }
  .stack-layout {
    gap: 22px;
  }
  .stack-options {
    grid-template-columns: 1fr;
  }
  .topic-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .hero-team {
    grid-template-columns: 1fr;
    margin-top: 38px;
    gap: 5px;
    padding: 12px;
  }
  .hero-team-film,
  .hero-team-film video {
    min-height: 0;
  }
  .hero-team-film video {
    height: auto;
    aspect-ratio: 1.65;
  }
  .team-caption {
    display: none;
  }
  .hero-team-work {
    padding: 22px 14px 10px;
  }
  .hero-team-work h2 {
    font-size: 40px;
    margin: 20px 0;
  }
  .hero-opportunities strong {
    font-size: 12px;
  }
  .hero-agent-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-bottom: 30px;
  }
  .hero-agent-row a {
    padding: 12px;
    font-size: 11px;
  }
  .hero-agent-row a:last-child {
    grid-column: 1/-1;
  }
  .output-heading,
  .output-grid,
  .stack-layout,
  .case-teaser-grid,
  .case-hero-grid,
  .learning-hero-grid,
  .attribution-explorer {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .output-heading {
    margin-bottom: 25px;
  }
  .output-heading > p {
    margin-top: 0;
  }
  .output-artifact,
  .stack-results {
    padding: 24px;
  }
  .stack-options {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .stack-option {
    padding: 14px 10px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .stack-option img {
    width: 25px;
    height: 25px;
  }
  .stack-option > span:not(.stack-check) {
    width: 100%;
    order: 2;
  }
  .stack-option strong {
    font-size: 11px;
  }
  .stack-check {
    position: absolute;
    right: 10px;
    top: 18px;
  }
  .case-editorial,
  .case-cover {
    min-height: 370px;
    padding: 28px;
  }
  .case-editorial h3 {
    font-size: 46px;
  }
  .case-hero,
  .learning-hero {
    padding: 105px 0 45px;
  }
  .case-hero h1,
  .learning-hero h1 {
    font-size: 46px;
  }
  .case-cover > div > p {
    font-size: 36px;
  }
  .case-facts {
    gap: 20px;
    grid-template-columns: 1fr;
  }
  .case-facts > div {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .case-facts strong {
    font-size: 38px;
    min-width: 112px;
  }
  .case-facts span {
    margin: 0;
  }
  .case-facts > div:last-child {
    display: block;
  }
  .case-facts > div:last-child span {
    margin-top: 6px;
    max-width: none;
  }
  .case-evidence-note {
    margin-bottom: 40px;
  }
  .cluster-grid,
  .topic-grid {
    grid-template-columns: 1fr;
  }
  .cluster-card,
  .topic-card {
    padding: 25px;
  }
  .cluster-card h3,
  .topic-card h3 {
    font-size: 32px;
    margin-top: 18px;
  }
  .learning-compass {
    padding: 24px;
  }
  .learning-compass > p {
    font-size: 25px;
  }
  .attribution-explorer {
    padding: 22px;
    margin: 30px 0 45px;
  }
  .attribution-result {
    padding: 20px;
  }
  .attribution-explorer h3 {
    font-size: 34px;
  }
  .learning-footer {
    gap: 18px;
  }
  .case-wordmark {
    font-size: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-agent-row a,
  .cluster-card,
  .topic-card,
  .stack-option {
    transition: none;
  }
  .hero-agent-row a:hover,
  .cluster-card:hover,
  .topic-card:hover {
    transform: none;
  }
}

.case-opening {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 70px;
  margin: 65px 0 40px;
}
.case-opening > .eyebrow {
  grid-column: 1/-1;
  justify-self: start;
}
.case-opening h2 {
  margin: 18px 0;
  font-size: 54px;
  line-height: 1.18;
}
.case-opening > p {
  align-self: center;
  font-size: 15px;
  color: var(--muted);
  max-width: 450px;
}
.case-workstream-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 0 80px;
  scroll-margin-top: 120px;
}
.case-workstream-grid > a {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #f8f5ef;
  border: 1px solid #e7ded2;
  border-radius: 18px;
}
.case-workstream-grid > a:nth-child(2) {
  background: #f1f6f6;
}
.case-workstream-grid > a:nth-child(3) {
  background: #f7f1ed;
}
.case-workstream-grid h3 {
  font-size: 31px;
  line-height: 1.18;
  margin: 25px 0 15px;
}
.case-workstream-grid p {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 25px;
}
.case-workstream-grid .text-link {
  margin-top: auto;
  font-size: 11px;
}
.case-measurement {
  border: 1px solid #ddd8ce;
  background: #f9f6ef;
  border-radius: 18px;
  padding: 28px;
  margin: 30px 0;
}
.case-measurement > strong {
  display: block;
  font-family: var(--serif);
  font-size: 78px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.04em;
  margin: 20px 0 8px;
}
.case-measurement > h3 {
  font-size: 27px;
  line-height: 1.18;
  margin: 10px 0 15px;
}
.case-measurement p {
  font-size: 13px !important;
}
.case-measurement .text-link {
  font-size: 11px;
}
.case-measurement-cro {
  background: #f0f6f3;
  border-color: #d4e2dc;
}
.case-measurement .tag {
  white-space: normal;
  line-height: 1.5;
}
.case-hero-grid > div > .button-row {
  flex-wrap: wrap;
}
@media (max-width: 680px) {
  .case-opening {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 40px;
  }
  .case-opening h2 {
    font-size: 43px;
  }
  .case-workstream-grid {
    grid-template-columns: 1fr;
    margin-bottom: 45px;
  }
  .case-measurement {
    padding: 22px;
  }
  .case-measurement > strong {
    font-size: 65px;
  }
  .case-workstream-grid > a {
    padding: 25px;
  }
}
