/* Product hierarchy and section compositions */
.block {
  padding-block: var(--section-space);
}
.logo img {
  width: 156px;
  height: auto;
}
.hero {
  min-height: 420px;
  padding-block: 30px;
}
.hero-copy {
  padding-block: 22px;
}
.hero .kicker {
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(52px, 5vw, 72px);
  letter-spacing: -0.055em;
}
.hero-art {
  max-height: 350px;
}
.btn {
  padding: 10px 16px;
  border-radius: var(--button-radius);
}
.btn:disabled {
  color: #696b72;
  background: #eeeef1;
  border-color: #eeeef1;
  cursor: not-allowed;
}
.btn:disabled:hover {
  background: #eeeef1;
}
.search-btn,
.close {
  border-radius: var(--button-radius);
}
.catalog-band {
  background: white;
  border-block: 1px solid var(--line);
}
.product-shelf {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-8);
  align-items: stretch;
}
.app-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-radius: var(--panel-radius);
}
.app-feature > img {
  height: 100%;
  width: 100%;
  min-height: 230px;
  aspect-ratio: auto;
  object-position: 48% center;
}
.app-feature .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(16px, 2.2vw, 32px);
}
.app-feature .app-meta {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}
.app-feature h3 {
  font-size: clamp(25px, 2.8vw, 39px);
}
.app-feature p {
  font-size: 15px;
}
.feature-action {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 600;
}
.feature-action .icon {
  width: 14px;
}
.shelf-rows {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
}
.app-row {
  display: grid;
  grid-template-columns: 66px 1fr auto;
  align-items: center;
  gap: var(--space-4);
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
}
.app-row:first-child {
  border-top: 1px solid var(--line);
}
.app-row:hover {
  transform: none;
  box-shadow: none;
}
.app-row:hover h3 {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.app-row > img {
  width: 66px;
  height: 62px;
  border-radius: 8px;
  object-fit: cover;
}
.app-row .card-body {
  padding: 0;
}
.app-row .app-meta {
  justify-content: flex-start;
  gap: 10px;
}
.app-row h3 {
  font-size: 19px;
  margin: 2px 0 3px;
}
.app-row p {
  max-width: none;
}
.workshop-spread {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(28px, 6vw, 85px);
}
.spread-art {
  overflow: hidden;
  border-radius: var(--panel-radius);
}
.spread-art img {
  width: 100%;
  aspect-ratio: 1.9;
  object-fit: cover;
}
.spread-copy h2,
.help-split h2 {
  font-size: clamp(31px, 3.3vw, 50px);
  margin: 10px 0 14px;
}
.spread-copy > p:not(.overline),
.help-split > div > p:not(.overline) {
  max-width: 43ch;
  color: var(--muted);
}
.second-story {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.help-band {
  background: var(--brand);
  color: white;
}
.help-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 75px);
  padding-block: var(--section-space);
  align-items: center;
}
.help-split .overline,
.help-split .guide-list span,
.help-split > div > p:not(.overline) {
  color: #fffd;
}
.help-split .btn {
  margin-top: 20px;
  color: var(--brand);
  background: white;
}
.help-split .guide-list a {
  border-color: #fff4;
}
.help-split .guide-list a:hover strong {
  color: white;
  text-decoration: underline;
}
.footnav a[href*="marken"],
.footnav a[href*="designsystem"] {
  color: var(--brand);
}
/* Brand proofs and component references */
.review {
  padding-bottom: var(--section-space);
}
.review-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin: 38px 0 32px;
}
.review-head h1 {
  margin: 9px 0 13px;
  font-size: clamp(42px, 5.3vw, 76px);
}
.review-head .intro {
  max-width: 59ch;
  color: var(--muted);
  font-size: 16px;
}
.review-head > .btn {
  white-space: nowrap;
}
.library-layout {
  display: grid;
  grid-template-columns: minmax(165px, 0.32fr) minmax(0, 1fr);
  gap: clamp(25px, 5vw, 76px);
  align-items: start;
}
.library-nav {
  position: sticky;
  top: 24px;
}
.library-items > section {
  border-top: 1px solid var(--line);
  padding: 27px 0;
}
.library-items .section-heading {
  margin-bottom: 12px;
}
.library-items .section-heading h2 {
  font-size: 27px;
}
.token-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.token-grid i {
  display: block;
  height: 60px;
  border-radius: 8px;
  margin: 4px 0 8px;
}
.token-grid strong,
.token-grid code {
  display: block;
  font-size: 13px;
}
.token-grid code {
  font-size: 12px;
  color: var(--muted);
}
.lib-note {
  color: var(--muted);
  max-width: 57ch;
  margin: 0 0 17px;
}
.type-list > div {
  display: grid;
  grid-template-columns: minmax(80px, 0.34fr) 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.type-list small {
  color: var(--muted);
}
.type-display {
  font-size: clamp(32px, 3vw, 48px);
  letter-spacing: -0.055em;
  font-weight: 650;
  line-height: 1.05;
}
.type-list p {
  font-size: 16px;
  line-height: 1.65;
}
.action-samples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.component-examples {
  display: grid;
  grid-template-columns: minmax(160px, 0.65fr) 1fr;
  gap: 24px;
  align-items: center;
}
.library-items .guide-list {
  margin-top: 18px;
}
@media (max-width: 850px) {
  .app-feature {
    grid-template-columns: 0.85fr 1.15fr;
  }
  .product-shelf {
    gap: 18px;
  }
  .app-row {
    grid-template-columns: 52px 1fr auto;
    gap: 12px;
  }
  .app-row > img {
    width: 52px;
    height: 52px;
  }
  .foot {
    flex-wrap: wrap;
  }
}
@media (max-width: 760px) {
  .hero {
    padding: 28px 0 16px;
    min-height: 0;
    gap: 2px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero-art {
    max-height: 245px;
  }
  .product-shelf,
  .workshop-spread,
  .help-split,
  .library-layout,
  .component-examples {
    grid-template-columns: 1fr;
  }
  .app-feature {
    grid-template-columns: 0.85fr 1.15fr;
  }
  .app-feature > img {
    min-height: 165px;
  }
  .app-feature .card-body {
    padding: 16px;
  }
  .app-feature .feature-action {
    margin-top: 12px;
  }
  .app-row .card-body {
    padding: 0;
  }
  .app-row .app-meta {
    display: flex;
  }
  .spread-art img {
    aspect-ratio: 2.3;
  }
  .workshop-spread {
    gap: 18px;
  }
  .review-head {
    display: block;
    margin: 25px 0;
  }
  .review-head > .btn {
    margin-top: 15px;
  }
  .library-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    border: 0;
    padding: 0;
  }
  .library-nav strong {
    width: 100%;
  }
  .token-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .component-examples > .app-card:not(.app-row) {
    max-width: 320px;
  }
  .footnav a {
    min-height: 38px;
  }
}
.brand-proof-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 290px;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  overflow: hidden;
}
.brand-proof-symbol,
.brand-proof-lockups > div {
  display: grid;
  place-items: center;
}
.brand-proof-symbol {
  background: var(--brand-surface);
}
.brand-proof-symbol img {
  width: clamp(100px, 12vw, 170px);
}
.brand-proof-lockups {
  display: grid;
  grid-template-rows: 1fr 1fr;
}
.brand-proof-lockups img {
  width: min(62%, 280px);
}
.brand-proof-night {
  background: var(--brand);
}
.brand-files,
.brand-scales {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(20px, 5vw, 80px);
  align-items: start;
  margin-top: 42px;
}
.brand-files p,
.brand-scales p {
  margin-top: 8px;
  max-width: 38ch;
  color: var(--muted);
}
.brand-files h2,
.brand-scales h2,
.brand-colors h2 {
  font-size: clamp(26px, 3vw, 38px);
}
.file-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  min-height: 45px;
}
.file-list a:hover {
  color: var(--signal-text);
}
.file-list a span:last-child {
  font-size: 12px;
  color: var(--muted);
}
.brand-colors,
.brand-scales,
.brand-archive {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.scales {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
}
.scales figure {
  display: grid;
  justify-items: center;
  gap: 8px;
}
.scales figcaption {
  font-size: 12px;
  color: var(--muted);
}
.brand-archive summary {
  cursor: pointer;
  min-height: 44px;
  color: var(--muted);
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.archive-grid figure > div {
  display: grid;
  place-items: center;
  height: 115px;
  border-radius: var(--button-radius);
}
.archive-grid figcaption {
  margin-top: 10px;
}
.archive-grid figcaption span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 760px) {
  .brand-proof-board {
    min-height: 160px;
  }
  .brand-proof-symbol img {
    width: 72px;
  }
  .brand-proof-lockups img {
    width: 80%;
  }
  .brand-files,
  .brand-scales {
    grid-template-columns: 1fr;
  }
  .archive-grid {
    grid-template-columns: 1fr;
  }
}

/* The stepped corner uses the same square grid as the brand mark. */
.spread-art {
  clip-path: polygon(
    0 0,
    calc(100% - 24px) 0,
    calc(100% - 24px) 12px,
    calc(100% - 12px) 12px,
    calc(100% - 12px) 24px,
    100% 24px,
    100% 100%,
    0 100%
  );
}
.text-link,
.next-strip a,
.sources a {
  color: var(--signal-text);
}
.hero h1 span {
  color: var(--brand);
}
.btn.dark:hover:not(:disabled) {
  background: color-mix(in srgb, var(--brand-accent) 82%, white);
}
.help-split .btn {
  color: var(--brand);
}
.site-head .btn.dark {
  color: white;
  background: var(--brand);
  border-color: var(--brand);
}
.site-head .btn.dark:hover {
  color: var(--brand);
  background: var(--brand-accent);
  border-color: var(--brand-accent);
}

/* Pixel motif from the LK staircase. The same three cells scale at different section edges. */
.pixel-steps {
  --unit: 4px;
  display: inline-grid;
  grid-template: repeat(3, var(--unit)) / repeat(3, var(--unit));
  flex: none;
  vertical-align: middle;
  color: var(--brand-accent);
  pointer-events: none;
}
.pixel-steps i {
  background: currentColor;
}
.pixel-steps i:first-child {
  grid-area: 3 / 1;
}
.pixel-steps i:nth-child(2) {
  grid-area: 2 / 2;
}
.pixel-steps i:last-child {
  grid-area: 1 / 3;
}
.pixel-steps-edge {
  --unit: clamp(8px, 0.85vw, 14px);
  position: absolute;
  inset: auto max(5%, calc((100% - var(--max)) / 2)) 100% auto;
}
.pixel-steps-edge i:first-child {
  background: var(--brand);
}
.pixel-steps-edge i:nth-child(2) {
  background: var(--brand-slate);
}
.pixel-steps-sample {
  --unit: 16px;
}
.section-label,
.pixel-example {
  display: flex;
  gap: 10px;
  align-items: center;
}
.pixel-example {
  gap: 24px;
  padding: 18px 0;
}
.pixel-example p {
  max-width: 46ch;
  color: var(--muted);
}
.crumb .pixel-steps {
  --unit: 3px;
  margin-right: 3px;
}
.catalog-band {
  position: relative;
}
.hero-art {
  mix-blend-mode: multiply;
}
.site-head,
.brand-proof-lockups > div:not(.brand-proof-night) {
  background: var(--brand-surface);
}
.brand-proof-symbol {
  background: var(--brand-mist);
}
.brand-proof-lockups img {
  width: min(80%, 410px);
}
.logo img {
  width: 175px;
}
.studio-mark,
.section-label {
  letter-spacing: 0.075em;
  text-transform: uppercase;
  font-size: 11px;
}
.type-display {
  font-family: var(--font-title);
}
.token-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.token-grid i {
  box-shadow: inset 0 0 0 1px #0b0d1018;
}
@media (max-width: 760px) {
  .logo img {
    width: 142px;
  }
  .token-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pixel-steps-edge {
    --unit: 7px;
  }
}
@media (max-width: 389px) {
  .review-head h1 { font-size: clamp(33px, 11vw, 42px); }
}
