.studio {
  position: relative;
  z-index: 1;
  padding: clamp(52px, 6.6vw, 112px) 0 clamp(68px, 8vw, 140px);
  background: #fff;
  color: #111;
}
.studio-spread {
  width: min(83.334%, 1600px);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(265px, .67fr) minmax(0, 1.33fr);
  gap: clamp(36px, 5.7vw, 100px);
  align-items: start;
}
.studio h2, .studio h3, .studio h4, .studio p { margin: 0; }
.studio-intro h2 {
  margin-top: -.07em;
  max-width: 10ch;
  font-size: clamp(3.1rem, 4.7vw, 5.7rem);
  font-weight: 810;
  line-height: .99;
  letter-spacing: -.06em;
  text-wrap: balance;
}
.studio-intro > p {
  max-width: 36ch;
  margin-top: 18px;
  font-size: clamp(1rem, 1.28vw, 1.25rem);
  line-height: 1.43;
  letter-spacing: -.024em;
}
.studio-source-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #8e191d;
  font-size: .94rem;
  line-height: 1.4;
  font-weight: 650;
  text-underline-offset: .22em;
}
.studio-source-link:hover { color: #191919; }
.studio-index {
  display: grid;
  gap: 4px;
  margin-top: clamp(24px, 2.8vw, 46px);
  padding: 5px;
  border-radius: 20px;
  background: #f3f3f4;
}
.studio-index a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 10px 16px;
  border-radius: 15px;
  text-decoration: none;
  color: #28282c;
  transition: color .2s, background .2s, box-shadow .2s;
}
.studio-index a > span { font-size: 1rem; font-weight: 720; letter-spacing: -.035em; }
.studio-index small { font-size: .84rem; line-height: 1.2; text-align: right; color: #55565b; }
.studio-index a:hover { background: #e7e7e9; }
.studio-index a[aria-selected="true"] { background: #fff; box-shadow: 0 1px 6px #17182122; }
.studio-index a[aria-selected="true"] > span { color: #ab0000; }
.studio :focus-visible { outline: 3px solid #bf0000; outline-offset: 3px; }
.studio-files, .studio-file { min-width: 0; }
.studio-file { scroll-margin-top: clamp(72px, 9vw, 110px); }
.studio-file + .studio-file { margin-top: 32px; }
.studio-files:has([role="tabpanel"]) {
  display: grid;
  grid-template-rows: auto auto;
}
.studio-file[role="tabpanel"] {
  display: grid;
  grid-area: 1 / 1 / span 2;
  grid-template-rows: subgrid;
  margin: 0;
}
/* All seven examples reserve the same plate and caption tracks, including during a switch. */
.studio-file[role="tabpanel"][inert] {
  opacity: 0;
  pointer-events: none;
}
.studio-file[role="tabpanel"]:not([inert]) { z-index: 1; }
.studio-plate {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  isolation: isolate;
  overflow: hidden;
  container-type: inline-size;
  color: #fff;
  border-radius: clamp(18px, 1.7vw, 30px);
}
.studio-plate-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(18px, 3.45cqw, 36px) clamp(20px, 4.3cqw, 44px) 0;
}
.studio-plate-bar strong {
  font-size: clamp(1.2rem, 3.35cqw, 2.15rem);
  font-weight: 770;
  letter-spacing: -.054em;
}
.studio-plate-bar > span { font-size: clamp(.78rem, 1.8cqw, .98rem); font-weight: 580; text-align: right; }
/* The label of each card sits on a dark frosted pill and the name has a soft shadow, so both stay
   readable where the light end of the card's colours passes behind them. */
.studio-plate-bar > span { flex: none; white-space: nowrap; padding: .36em .85em; border-radius: 999px; background: rgb(16 14 18 / .52); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2); line-height: 1.2; }
.studio-plate-bar strong { text-shadow: 0 1px 3px rgb(0 0 0 / .22), 0 0 26px rgb(0 0 0 / .34); }
.studio-plate-bar::before { content: ""; position: absolute; z-index: -1; inset: 0 0 -48px; background: linear-gradient(180deg, rgb(16 10 14 / .34), rgb(16 10 14 / .24) 55%, rgb(16 10 14 / 0)); pointer-events: none; }
.studio-room-art, .studio-review-art, .studio-outreach-art, .studio-example-art {
  min-height: clamp(295px, 44cqw, 500px);
  display: grid;
  place-items: center;
  position: relative;
  padding: clamp(24px, 4.6cqw, 55px) max(20px, 6cqw);
}
.studio-room {
  background: radial-gradient(ellipse at 87% 22%, #35156d 0%, transparent 54%),
    linear-gradient(138deg, #271058 5%, #552597 43%, #8653c2 72%, #f5c2ef);
}
.studio-room-art::before {
  content: "";
  position: absolute;
  width: 153%;
  height: 230%;
  left: -18%;
  top: 27%;
  transform: rotate(-24deg);
  border-radius: 50%;
  background: radial-gradient(ellipse at 51% 58%, transparent 54%, #e8affc99 59%, #a891ee 64%, #9b64ce 68%, #e2b9f0 71%, #fff6 72%, transparent 72.8%);
  pointer-events: none;
}
.studio-room-paper, .studio-review-report, .studio-outreach-folder, .studio-example {
  position: relative;
  z-index: 1;
  width: min(88%, 600px);
  padding: clamp(18px, 3.6cqw, 42px);
  border-radius: clamp(15px, 2.2cqw, 24px);
  box-shadow: 0 23px 44px -15px #17102462;
}
.studio-sheet-label { display: block; font-size: clamp(.81rem, 1.74cqw, .98rem); font-weight: 640; letter-spacing: -.02em; }
.studio-room-paper { background: #fdfbff; color: #292437; border: 1px solid white; }
.studio-room-paper .studio-sheet-label { color: #664284; }
.studio-room-paper fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.studio-room-paper legend {
  padding: clamp(10px, 1.8cqw, 18px) 0 clamp(12px, 2.4cqw, 24px);
  font-size: clamp(1.21rem, 3.45cqw, 2.15rem);
  line-height: 1.09;
  letter-spacing: -.048em;
  font-weight: 740;
  text-wrap: pretty;
}
.studio-room-paper label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 12px;
  color: #36323d;
  border-radius: 10px;
  border: 1px solid #d8d4df;
  font-size: clamp(.88rem, 2.02cqw, 1.13rem);
  line-height: 1.22;
  cursor: pointer;
  transition: background .18s, border-color .18s;
}
.studio-room-paper label + label { margin-top: 6px; }
.studio-room-paper label:has(:checked) { background: #f1e9ff; border-color: #8057b3; }
.studio-room-paper input { width: 1em; height: 1em; margin: 0; accent-color: #6842aa; flex: none; }
.studio-review {
  background: radial-gradient(ellipse at 30% 8%, #0a326c 9%, transparent 55%),
    linear-gradient(125deg, #121230 4%, #143b8a 54%, #216bd8 77%, #77d8fb);
}
.studio-review-art::before {
  position: absolute;
  content: "";
  inset: 5% -8% -45% 38%;
  border-radius: 50%;
  transform: rotate(-35deg);
  background: radial-gradient(ellipse at 51% 62%, transparent 54%, #7ee8f399 58%, #a3ecff 61%, #258afa 67%, transparent 69%);
  pointer-events: none;
}
.studio-review-report {
  background: linear-gradient(130deg, #15263f, #142344);
  color: #fafcff;
  border: 1px solid #99bffd80;
}
.studio-review-report .studio-sheet-label { color: #d4e6ff; }
.studio-metric-switch { margin: 12px 0 0; padding: 0; border: 0; display: flex; gap: 4px; }
.studio-metric-switch label { position: relative; color: #cedaf1; cursor: pointer; font-size: .8rem; font-weight: 630; }
.studio-metric-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.studio-metric-switch label span { display: grid; place-items: center; min-height: 32px; border: 1px solid #74819c; padding: 4px 9px; border-radius: 30px; }
.studio-metric-switch :checked + span { background: #ddeeff; color: #142141; border-color: #ddeeff; }
.studio-metric-switch :focus-visible + span { outline: 3px solid white; outline-offset: 2px; }
.studio-review-total { display: flex; align-items: flex-end; gap: 12px; margin: clamp(14px, 2.3cqw, 25px) 0; }
.studio-review-runs, .studio-review-report:has([value="runs"]:checked) .studio-review-total { display: none; }
.studio-review-report:has([value="runs"]:checked) .studio-review-runs { display: flex; }
.studio-review-total strong { font-size: clamp(3rem, 10cqw, 7rem); line-height: .87; letter-spacing: -.075em; font-weight: 750; }
.studio-review-total > span { font-size: clamp(.8rem, 1.95cqw, 1.12rem); line-height: 1.13; }
.studio-review-meter { height: clamp(8px, 1.5cqw, 14px); border-radius: 30px; background: linear-gradient(90deg, #8bdfef 0 51%, #425779 51%); }
.studio-review-report p { margin-top: 7px; font-size: clamp(.81rem, 1.8cqw, 1rem); }
.studio-outreach {
  background: radial-gradient(ellipse at 12% 0%, #79302f 0%, transparent 50%),
    linear-gradient(128deg, #b73042 0%, #a83945 38%, #ef744e 72%, #ffc87c);
}
.studio-outreach-art::before {
  content: "";
  position: absolute;
  inset: -36% -15% -45% 42%;
  border-radius: 45% 65% 48% 40%;
  transform: rotate(-38deg);
  background: linear-gradient(110deg, transparent 2%, #ffb15e 28%, #ffdde199 40%, #f48368 52%, #dd4f53 65%, transparent 76%);
  pointer-events: none;
}
.studio-outreach-folder { background: #fffbf6; color: #2d2323; }
.studio-outreach-folder .studio-sheet-label { color: #895044; }
.studio-outreach-folder h4 {
  margin: .34em 0 .47em;
  font-size: clamp(1.5rem, 4.8cqw, 3.2rem);
  letter-spacing: -.062em;
  line-height: 1;
  font-weight: 740;
}
.studio-outreach-folder details { border-top: 1px solid #e0d2c9; }
.studio-outreach-folder summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  cursor: pointer;
  font-size: clamp(.94rem, 2.15cqw, 1.2rem);
  font-weight: 700;
  letter-spacing: -.025em;
}
.studio-outreach-folder summary::-webkit-details-marker { display: none; }
.studio-outreach-folder summary::after { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #f4e2d5; }
.studio-outreach-folder details[open] summary::after { content: "−"; }
.studio-outreach-folder summary small { margin-left: auto; text-align: right; font-size: clamp(.78rem, 1.7cqw, .93rem); font-weight: 520; }
.studio-outreach-folder details p { font-size: .86rem; margin: -2px 0 8px; }
.studio-chief {
  --sample-ink: #502310;
  --sample-tint: #f7e0cd;
  background: radial-gradient(ellipse at 120% 110%, #ffca7d 8%, transparent 61%), linear-gradient(125deg, #59220f, #ac481f 60%, #e68440);
}
.studio-echo {
  --sample-ink: #123c38;
  --sample-tint: #dbefe0;
  background: radial-gradient(ellipse at 94% 130%, #c3f377, transparent 64%), linear-gradient(126deg, #073c33, #286846 76%, #67a86d);
}
.studio-adsgroom {
  --sample-ink: #0f414c;
  --sample-tint: #d9f2ed;
  background: linear-gradient(128deg, #083448, #12657a 67%, #8cd9cf);
}
.studio-grants {
  --sample-ink: #5b2039;
  --sample-tint: #f6dfdf;
  background: radial-gradient(ellipse at 89% 0%, #712746, transparent 65%), linear-gradient(135deg, #4d203a, #a4445b 65%, #f9a18d);
}
.studio-example-art::before {
  content: "";
  position: absolute;
  pointer-events: none;
}
.studio-chief .studio-example-art::before {
  inset: -32% -18% -55% 38%;
  border-radius: 42%;
  transform: rotate(-31deg);
  background: linear-gradient(110deg, transparent 7%, #e86622 24%, #ffcc7d 40%, #f2843e 46%, #c55a26 68%, transparent 76%);
}
.studio-echo .studio-example-art::before {
  inset: -36% -28% -76% 23%;
  border-radius: 50%;
  transform: rotate(-21deg);
  background: repeating-radial-gradient(ellipse at 60% 54%, transparent 0 14%, #94d29188 15%, transparent 18%);
}
.studio-adsgroom .studio-example-art::before {
  inset: -70% -36% -60% 48%;
  transform: rotate(30deg);
  background: repeating-linear-gradient(90deg, #1c8190 0, #7dd8d3 12%, #2e7f8d 13%, #1c8190 23%);
}
.studio-grants .studio-example-art::before {
  inset: 2% -18% -73% 36%;
  border-radius: 5%;
  transform: rotate(-29deg);
  background: linear-gradient(95deg, #f8a896 0 2%, #9e4b61 3% 12%, #ffc4a5 13% 15%, #ca7781 16% 28%, #ffc4b2 29% 100%);
}
.studio-example { background: #fffcf9; color: var(--sample-ink); }
.studio-choice, .studio-checklist { min-width: 0; padding: 0; margin: 0; border: 0; }
.studio-choice legend, .studio-checklist legend {
  width: 100%;
  padding: .36em 0 .5em;
  font-size: clamp(1.25rem, 3.9cqw, 2.52rem);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -.053em;
}
.studio-choice label { display: inline-block; position: relative; margin-bottom: 3px; cursor: pointer; }
.studio-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.studio-choice label span { display: grid; place-items: center; min-height: 36px; padding: 5px 12px; border: 1px solid currentColor; border-radius: 30px; font-size: .86rem; font-weight: 640; }
.studio-choice :checked + span { background: var(--sample-ink); border-color: var(--sample-ink); color: #fff; }
.studio-choice :focus-visible + span { outline: 3px solid var(--sample-ink); outline-offset: 2px; }
.studio-results { display: grid; margin-top: clamp(10px, 1.9cqw, 20px); }
.studio-result { grid-area: 1 / 1; align-self: start; font-size: clamp(.89rem, 2cqw, 1.12rem); line-height: 1.3; }
.studio-result[inert] { opacity: 0; pointer-events: none; }
.studio-file:not([role="tabpanel"]) .studio-result { display: none; }
.studio-file:not([role="tabpanel"]) .studio-example:has(.studio-choice label:first-of-type :checked) .studio-result:first-child,
.studio-file:not([role="tabpanel"]) .studio-example:has(.studio-choice label:last-of-type :checked) .studio-result:last-child { display: var(--result-display, block); }
.studio-chat { --result-display: grid; display: grid; justify-items: start; gap: 6px; }
.studio-chat p { padding: 8px 12px; border-radius: 11px 11px 11px 2px; background: var(--sample-tint); }
.studio-chat p:first-child { justify-self: end; background: var(--sample-ink); color: white; border-radius: 11px 11px 2px; }
.studio-finding { padding: 12px 15px; border-left: 3px solid #34745c; border-radius: 0 10px 10px 0; background: var(--sample-tint); }
.studio-finding p { margin-top: 4px; }
.studio-performance { align-self: center; }
.studio-performance p { display: flex; align-items: baseline; gap: 7px; }
.studio-performance strong { font-size: clamp(2.6rem, 8cqw, 5rem); font-weight: 730; line-height: .98; letter-spacing: -.075em; }
.studio-performance > span, .studio-check-progress { display: block; margin-top: 8px; font-size: .88rem; line-height: 1.28; }
.studio-performance i { display: block; height: 8px; margin-top: 9px; border-radius: 9px; background: linear-gradient(to right, var(--sample-ink) var(--bar), var(--sample-tint) var(--bar)); }
.studio-checklist label { display: flex; align-items: center; gap: 9px; min-height: 36px; border-bottom: 1px solid var(--sample-tint); font-size: clamp(.9rem, 2cqw, 1.12rem); cursor: pointer; }
.studio-checklist input { flex: none; margin: 0; width: 1em; height: 1em; accent-color: var(--sample-ink); }
.studio-checklist label:has(:checked) span { text-decoration: line-through; text-decoration-thickness: 1px; }
.studio-check-progress[hidden] { display: none; }
.studio-caption { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: first baseline; gap: clamp(12px, 1.7vw, 28px); margin-top: 20px; }
.studio-caption h3 { font-size: clamp(1.23rem, 1.68vw, 1.85rem); font-weight: 750; line-height: 1.12; letter-spacing: -.048em; text-wrap: balance; }
.studio-caption p { margin-top: 8px; font-size: 1rem; line-height: 1.45; color: #48484a; max-width: 58ch; text-wrap: pretty; letter-spacing: -.015em; }
.studio-caption a { display: inline-flex; justify-self: start; align-items: center; min-height: 40px; padding: .44rem .9rem; border: 1.5px solid #1d1d1f; border-radius: 30px; color: #161616; font-size: .9rem; font-weight: 690; text-decoration: none; white-space: nowrap; transition: background .18s, color .18s; }
.studio-caption a:hover { background: #161616; color: #fff; }
@media (max-width: 1120px) {
  .studio-spread { width: 90%; gap: 4vw; }
  .studio-caption { grid-template-columns: 1fr; gap: 12px; }
  .studio-index a { padding-inline: 12px; }
}
@media (max-width: 800px) {
  .studio { padding-block: clamp(48px, 7vw, 72px) clamp(64px, 8vw, 90px); }
  .studio-spread { display: block; width: min(89%, 650px); }
  .studio-intro { text-align: center; }
  .studio-intro h2 { max-width: none; font-size: clamp(2.55rem, 7vw, 3.8rem); }
  .studio-intro > p { max-width: 48ch; margin: 12px auto 0; }
  .studio-index { display: flex; margin: 23px 0 13px; border-radius: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-padding-inline: 5px; scrollbar-width: thin; scrollbar-color: #b9b9bd #f3f3f4; }
  .studio-index a { flex: 1 0 auto; flex-direction: column; justify-content: center; gap: 3px; white-space: nowrap; min-height: 52px; padding: 7px 14px; border-radius: 12px; }
  .studio-index a:focus-visible { outline-offset: -3px; }
  .studio-index a > span { font-size: clamp(.88rem, 2.5vw, 1rem); line-height: 1.07; }
  .studio-index small { font-size: .76rem; text-align: center; }
  .studio-caption { margin-top: 15px; }
}
@media (max-width: 450px) {
  .studio-spread { width: calc(100% - 40px); }
  .studio-room-art, .studio-review-art, .studio-outreach-art, .studio-example-art { min-height: 250px; padding-inline: 16px; }
  .studio-room-paper, .studio-review-report, .studio-outreach-folder, .studio-example { width: 100%; padding: 16px; }
  .studio-plate-bar { padding-inline: 17px; }
  .studio-index { gap: 2px; }
}
