/* The extended studio: material, type, and the engineering behind both. */
.index-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  padding: 0;
}
.index-trigger kbd {
  font: 9px var(--sans);
  border: 1px solid #5a5e50;
  padding: 4px 6px;
  border-radius: 3px;
  color: #c1c6b6;
}
.index-trigger:hover {
  color: var(--orange);
}
.material-section {
  padding: 20px 4.2% 70px;
}
.material-section .detail-heading {
  margin-bottom: 38px;
}
.material-section .detail-heading h2 {
  font-size: clamp(40px, 5.1vw, 76px);
}
.material-stage {
  width: 100%;
  aspect-ratio: 2.1;
  min-height: 440px;
  position: relative;
  overflow: hidden;
  background: #dfe4d7;
  color: #263122;
  border: 1px solid #ced4c6;
}
#material-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  touch-action: pan-y;
}
.material-stage-top,
.material-stage-bottom {
  position: absolute;
  left: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  pointer-events: none;
}
.material-stage-top {
  top: 25px;
}
.material-stage-top > span:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
}
.material-stage .live-dot,
.live-build .live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
  background: #3b7041;
  flex-shrink: 0;
}
.material-stage-bottom {
  bottom: 24px;
  font-size: 8px;
}
.material-stage-bottom button {
  pointer-events: auto;
  border: 1px solid #8a9580;
  background: #dfe4d7d9;
  padding: 12px 15px;
  font-size: 9px;
  letter-spacing: 1px;
}
.material-stage-bottom button:hover {
  background: #263122;
  color: #f1f0e9;
}
.material-stage-copy {
  position: absolute;
  left: 6%;
  top: 25%;
  width: 28%;
  pointer-events: none;
}
.material-stage-copy .detail-kicker {
  font-size: 8px;
  color: #47553b;
}
.material-stage-copy h3 {
  font-size: clamp(40px, 5.3vw, 80px);
  line-height: 0.97;
  letter-spacing: -3.5px;
  margin: 20px 0;
}
.material-stage-copy p {
  font-size: 11px;
  line-height: 1.85;
  color: #4c5941;
}
.material-console {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid #c4c9bb;
}
.finish-controls > div {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap;
}
.finish-controls button {
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #536047;
  border-bottom: 1px solid transparent;
}
.finish-controls button[aria-pressed="true"] {
  color: #263122;
  border-color: #263122;
}
.finish-controls i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #849179;
}
.finish-chrome {
  background: linear-gradient(
    130deg,
    #293026,
    #e4e9dc 40%,
    #66705a 65%,
    #f7f8f0
  );
}
.finish-clay {
  background: #b65e3d;
}
.finish-spectral {
  background: linear-gradient(125deg, #9683c7, #82a6b4, #a6bd77);
}
.material-slider label {
  display: flex;
  justify-content: space-between;
  color: #4e5e40;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
}
.material-slider output {
  font-size: 10px;
  letter-spacing: 0;
}
.material-slider input {
  width: 100%;
  margin: 23px 0 0;
  accent-color: #39482c;
  height: 4px;
  cursor: pointer;
}
.experiment-footnote {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 22px;
  font-size: 8px;
  letter-spacing: 0.9px;
  color: #59674d;
}
.experiment-footnote a {
  font-size: 10px;
  letter-spacing: 0;
  color: #33432a;
  border-bottom: 1px solid #86947b;
  padding-bottom: 5px;
}
.type-section {
  padding: 65px 4.2% 80px;
  background: #20251c;
}
.type-section .section-eyebrow {
  color: #aab49c;
  border-color: #505944;
}
.type-section .playground-heading {
  margin: 36px 0;
}
.type-section .playground-heading h2 {
  font-size: clamp(40px, 5vw, 73px);
  letter-spacing: -3px;
}
.type-section .playground-heading > p {
  color: #b9c2ac;
}
.type-layout {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 7.8%;
  align-items: center;
}
.poster-stage {
  position: relative;
  aspect-ratio: 0.86;
  background: #ff6b3d;
  overflow: hidden;
}
#poster-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.poster-stage-ui {
  position: absolute;
  inset: 21px 25px auto;
  color: #192016;
  font-size: 8px;
  letter-spacing: 1px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.type-controls {
  padding: 20px 0;
}
.type-controls .detail-kicker {
  color: #b3bfa2;
}
.type-controls h3 {
  font-size: 44px;
  line-height: 1.07;
  letter-spacing: -1.7px;
  margin: 18px 0;
}
.type-controls > p {
  font-size: 12px;
  line-height: 1.85;
  color: #b9c2ac;
  max-width: 360px;
  margin-bottom: 28px;
}
.type-controls > label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 22px 0 10px;
}
.type-controls > label span {
  font-size: 8px;
  color: #b3bfa2;
}
.type-controls > label output {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0;
  color: #c5d4b1;
}
#poster-words {
  width: 100%;
  background: #293023;
  border: 1px solid #647253;
  border-radius: 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: 19px;
  padding: 14px;
}
.type-controls > input[type="range"] {
  width: 100%;
  accent-color: #c0d5a1;
  height: 4px;
  cursor: pointer;
}
.type-style-label {
  display: block;
  margin: 24px 0 10px;
}
.type-style-controls {
  display: flex;
  gap: 8px;
}
.type-style-controls button {
  font-size: 11px;
  border: 1px solid #626e53;
  padding: 10px 17px;
}
.type-style-controls button[aria-pressed="true"] {
  background: #dae4c9;
  border-color: #dae4c9;
  color: #20251c;
}
.poster-color-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.poster-color-controls button {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--poster-color);
  border: 4px solid #20251c;
  outline: 1px solid #778367;
}
.poster-color-controls button[aria-pressed="true"] {
  outline: 2px solid #edf1e6;
}
.poster-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}
.poster-actions .pill-button {
  background: var(--paper);
  color: #20251c;
  border-color: var(--paper);
}
#poster-reset {
  font-size: 9px;
  letter-spacing: 1px;
  color: #becaaa;
  padding: 12px 0;
}
.poster-note {
  font-size: 9px;
  line-height: 1.7;
  color: #b4c29f;
  display: block;
  margin-top: 14px;
}
.engineering-section {
  padding: 65px 4.2% 70px;
  background: #151613;
}
.engineering-section .section-eyebrow {
  color: #b0b79f;
}
.engineering-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin: 38px 0;
}
.engineering-heading h2 {
  max-width: 730px;
  font-size: clamp(42px, 5.5vw, 80px);
  letter-spacing: -3.7px;
  line-height: 1.02;
}
.engineering-heading > p {
  color: #b9c2ac;
  font-size: 11px;
  line-height: 1.8;
  min-width: 250px;
}
.engineering-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.code-window {
  min-width: 0;
  border: 1px solid #424a37;
  background: #1d2119;
}
.code-window-top {
  height: 53px;
  border-bottom: 1px solid #424a37;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  font: 10px var(--display);
  color: #bac7a7;
}
.code-window-top > span:first-child {
  display: flex;
  gap: 5px;
}
.code-window-top i {
  width: 6px;
  height: 6px;
  display: block;
  background: #7a866b;
  border-radius: 50%;
}
.code-window-top i:first-child {
  background: #ff6b3d;
}
.code-window-top button {
  font-size: 8px;
  letter-spacing: 1px;
  padding: 10px 0;
}
.code-tabs {
  display: flex;
  border-bottom: 1px solid #424a37;
  padding: 0 20px;
  gap: 23px;
}
.code-tabs button {
  padding: 16px 0 14px;
  font-size: 9px;
  color: #acb89a;
  border-bottom: 2px solid transparent;
}
.code-tabs button[aria-selected="true"] {
  border-color: var(--orange);
  color: #f1f0e9;
}
#code-panel {
  outline-offset: 4px;
}
#code-panel pre {
  margin: 0;
  padding: 24px 20px;
  min-height: 230px;
  overflow-x: auto;
  line-height: 1.9;
  tab-size: 2;
}
#code-content {
  font:
    11px/1.9 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  color: #d5e1c6;
  white-space: pre;
}
#code-content .code-line {
  display: block;
}
#code-content .code-line::before {
  content: attr(data-line);
  display: inline-block;
  width: 30px;
  color: #9da98c;
  user-select: none;
}
#code-content .code-comment {
  color: #a3b194;
}
#code-content .code-keyword {
  color: #c3dba2;
}
#code-content .code-number {
  color: #eeb5a3;
}
#code-content .code-call {
  color: #a9cbd2;
}
.code-caption {
  padding: 16px 20px 21px;
  border-top: 1px solid #424a37;
  color: #b8c8a5;
  font-size: 10px;
  line-height: 1.8;
}
#code-status {
  display: block;
  color: #c5ef95;
}
.live-build {
  border: 1px solid #424a37;
  padding: 23px;
  display: flex;
  flex-direction: column;
}
.live-build-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  letter-spacing: 1px;
  color: #d3e0bf;
}
.live-build-heading .live-dot {
  background: #c5ef95;
  margin-right: 6px;
}
.live-build-heading button {
  font-size: 23px;
  line-height: 1;
  padding: 0 3px;
  color: #bfceac;
}
.build-metrics {
  margin: 15px 0;
}
.build-metrics > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid #424a37;
  padding: 16px 0;
}
.build-metrics dt {
  font-size: 10px;
  color: #b6c2a5;
}
.build-metrics dd {
  margin: 0;
  color: #dbe8c7;
  font: 14px var(--display);
  text-align: right;
}
.live-build > p {
  font-size: 9px;
  color: #b6c2a5;
  line-height: 1.85;
  max-width: 360px;
  margin-bottom: 15px;
}
.live-build .text-link {
  align-self: start;
  font-size: 10px;
  margin-top: auto;
  padding-left: 0;
  padding-right: 0;
}
.live-build .text-link span {
  font-size: 18px;
}
.engineering-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5%;
  padding: 35px 0;
  border-bottom: 1px solid #424a37;
}
.engineering-principles article > span {
  color: #b2bf9e;
  font-size: 8px;
  letter-spacing: 1px;
}
.engineering-principles h3 {
  font-size: 27px;
  letter-spacing: -0.9px;
  line-height: 1.13;
  margin: 16px 0;
}
.engineering-principles p {
  font-size: 11px;
  line-height: 1.9;
  color: #b6c2a5;
  max-width: 330px;
}
.colophon {
  display: grid;
  grid-template-columns: 0.4fr 1.5fr 0.8fr;
  align-items: start;
  gap: 40px;
  padding-top: 25px;
}
.colophon > span {
  font-size: 9px;
  letter-spacing: 1px;
  color: #b2bf9e;
  padding-top: 5px;
}
.colophon > p {
  font-size: 10px;
  line-height: 1.9;
  color: #b6c2a5;
  max-width: 530px;
}
.colophon .text-link {
  font-size: 10px;
  padding: 0;
  justify-self: end;
  text-align: left;
}
.colophon .text-link span {
  font-size: 12px;
  white-space: nowrap;
}
#studio-index {
  width: min(650px, 92vw);
  max-height: 85vh;
  color: #f1f0e9;
  background: #20251c;
  border: 1px solid #59644b;
  padding: 28px;
  border-radius: 0;
  overflow-y: auto;
}
#studio-index::backdrop {
  background: #0a0d09cf;
  backdrop-filter: blur(12px);
}
.index-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}
.index-heading .detail-kicker {
  color: #bcc9aa;
  font-size: 8px;
}
.index-heading h2 {
  font-size: 35px;
  letter-spacing: -1.5px;
  margin-top: 9px;
}
#studio-index .dialog-close {
  position: static;
  flex-shrink: 0;
  float: none;
  margin: 0;
  width: 35px;
  height: 35px;
  background: #35412c;
}
.index-search-label {
  display: block;
  margin: 25px 0 9px;
  font-size: 8px;
  letter-spacing: 1px;
  color: #c1cdb0;
}
#index-search {
  width: 100%;
  background: #2b3423;
  border: 1px solid #7c8c69;
  padding: 14px;
  color: #f1f0e9;
  font-size: 13px;
  border-radius: 0;
}
#index-search::placeholder {
  color: #b6c6a0;
}
#index-results {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
}
#index-results button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 13px 10px;
  border-bottom: 1px solid #46523a;
  text-align: left;
}
#index-results button:hover,
#index-results button:focus-visible {
  background: #35432b;
}
#index-results button > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
#index-results strong {
  font-size: 13px;
  font-weight: 500;
  font-family: var(--display);
}
#index-results small {
  font-size: 9px;
  color: #c0ccaf;
}
#index-results b {
  font-size: 18px;
  font-weight: 400;
  color: #c5ef95;
}
#index-empty {
  padding: 20px 0;
  color: #c5cfb7;
  font-size: 12px;
}
.index-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 8px;
  letter-spacing: 0.6px;
  color: #bfccac;
  margin-top: 20px;
}
@media (min-width: 1600px) {
  .material-stage {
    max-height: 730px;
  }
  .type-layout {
    grid-template-columns: 1fr 1fr;
    gap: 10%;
  }
  .type-controls {
    max-width: 540px;
  }
}
@media (max-width: 1120px) {
  .desktop-nav {
    gap: 22px;
    margin-left: 0;
  }
  .index-trigger > span {
    display: none;
  }
  .material-stage {
    min-height: 400px;
  }
  .finish-controls > div {
    gap: 8px;
  }
  .finish-controls button {
    font-size: 9px;
  }
  .material-console {
    gap: 25px;
  }
  .engineering-heading {
    gap: 25px;
  }
  .engineering-layout {
    grid-template-columns: 1.1fr 1fr;
    gap: 18px;
  }
  .live-build {
    padding: 19px;
  }
  .build-metrics dt {
    font-size: 9px;
  }
  .type-controls h3 {
    font-size: 36px;
  }
  .type-layout {
    gap: 6%;
    grid-template-columns: 1.1fr 1fr;
  }
  .type-controls > p {
    margin-bottom: 20px;
  }
  .type-controls > label {
    margin-top: 18px;
  }
  .colophon {
    grid-template-columns: 0.5fr 1.5fr;
    gap: 20px;
  }
  .colophon .text-link {
    grid-column: 2;
    justify-self: start;
  }
}
@media (max-width: 760px) {
  .material-section {
    padding: 20px 6% 45px;
  }
  .material-section .detail-heading h2 {
    font-size: 44px;
    letter-spacing: -2.3px;
  }
  .material-section .detail-heading {
    gap: 20px;
  }
  .material-stage {
    min-height: 500px;
    aspect-ratio: 0.8;
  }
  .material-stage-top {
    left: 18px;
    right: 18px;
    top: 19px;
    font-size: 8px;
    letter-spacing: 0.5px;
  }
  .material-stage-copy {
    top: 12%;
    left: 7%;
    width: 85%;
  }
  .material-stage-copy h3 {
    font-size: 50px;
    letter-spacing: -2.5px;
    margin: 13px 0;
  }
  .material-stage-copy .detail-kicker {
    font-size: 7px;
  }
  .material-stage-copy p {
    display: none;
  }
  .material-stage-bottom {
    left: 18px;
    right: 18px;
    bottom: 18px;
    align-items: end;
    gap: 20px;
    font-size: 7px;
    line-height: 1.7;
  }
  .material-stage-bottom > span {
    max-width: 150px;
  }
  .material-stage-bottom button {
    padding: 10px 12px;
    font-size: 8px;
    white-space: nowrap;
  }
  .material-console {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding: 24px 0;
  }
  .finish-controls {
    grid-column: 1/-1;
  }
  .finish-controls > div {
    gap: 20px;
    margin-top: 9px;
  }
  .finish-controls button {
    font-size: 10px;
  }
  .material-slider label {
    font-size: 8px;
    letter-spacing: 0.5px;
  }
  .material-slider input {
    margin-top: 17px;
  }
  .experiment-footnote {
    flex-direction: column;
    align-items: start;
    gap: 15px;
    line-height: 1.9;
    font-size: 7px;
  }
  .type-section {
    padding: 45px 6% 50px;
  }
  .type-section .playground-heading {
    gap: 20px;
    margin: 30px 0;
  }
  .type-section .playground-heading h2 {
    font-size: 43px;
    letter-spacing: -2px;
  }
  .type-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .poster-stage {
    aspect-ratio: 0.86;
  }
  .poster-stage-ui {
    inset: 17px 19px auto;
    font-size: 7px;
    letter-spacing: 0.6px;
  }
  .type-controls {
    padding: 0;
  }
  .type-controls h3 {
    font-size: 38px;
    margin: 15px 0;
  }
  .type-controls > p {
    max-width: 440px;
  }
  .poster-actions {
    margin-top: 25px;
  }
  .engineering-section {
    padding: 45px 6%;
  }
  .engineering-heading {
    display: block;
    margin: 28px 0;
  }
  .engineering-heading h2 {
    font-size: 48px;
    letter-spacing: -2.3px;
  }
  .engineering-heading > p {
    margin-top: 20px;
  }
  .engineering-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .code-window-top {
    padding: 0 15px;
  }
  .code-tabs {
    padding: 0 15px;
    gap: 20px;
  }
  .code-tabs button {
    font-size: 8px;
  }
  #code-panel pre {
    padding: 20px 15px;
    min-height: 225px;
  }
  #code-content {
    font-size: 9px;
  }
  #code-content .code-line::before {
    width: 23px;
  }
  .code-caption {
    padding: 15px;
    font-size: 9px;
  }
  .live-build {
    padding: 22px;
  }
  .build-metrics dt {
    font-size: 10px;
  }
  .engineering-principles {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 30px 0;
  }
  .engineering-principles article {
    padding-bottom: 24px;
    border-bottom: 1px solid #343d2b;
  }
  .engineering-principles article:last-child {
    border: 0;
    padding: 0;
  }
  .engineering-principles h3 {
    font-size: 29px;
    margin: 12px 0;
  }
  .engineering-principles p {
    max-width: 500px;
  }
  .colophon {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-top: 25px;
  }
  .colophon .text-link {
    grid-column: 1;
    margin-top: 3px;
  }
  #studio-index {
    padding: 22px;
    width: 92vw;
  }
  .index-heading h2 {
    font-size: 29px;
  }
  .index-footer {
    font-size: 7px;
    letter-spacing: 0.3px;
  }
}
@media (max-width: 360px) {
  .material-section .detail-heading h2 {
    font-size: 38px;
  }
  .finish-controls > div {
    gap: 11px;
  }
  .finish-controls button {
    font-size: 9px;
  }
  .finish-controls i {
    width: 12px;
    height: 12px;
  }
  .type-section .playground-heading h2 {
    font-size: 37px;
  }
  .engineering-heading h2 {
    font-size: 42px;
  }
  .poster-actions {
    gap: 15px;
  }
  .poster-actions .pill-button {
    font-size: 11px;
    padding: 13px 18px;
  }
  .code-tabs {
    gap: 16px;
  }
  .live-build {
    padding: 18px;
  }
  .build-metrics dt {
    font-size: 9px;
  }
  .index-heading h2 {
    font-size: 24px;
  }
}
@media (max-width: 760px) and (max-height: 700px) {
  .mobile-menu {
    padding: 25px 6%;
    overflow-y: auto;
    gap: 25px;
  }
  .mobile-menu nav {
    gap: 15px;
  }
  .mobile-menu nav a {
    font-size: 29px;
  }
}
