/* The brand page: the site's world, laid out as a kit of plates you can download from. */
.brand .strip { gap: 18px; }
.brand .back { margin-left: auto; color: var(--text-2); text-decoration: none; font-size: 14px; padding: 7px 11px; border-radius: 4px; transition: background .2s, color .2s; }
.brand .back:hover { color: var(--text); background: var(--selected); }

.kit { max-width: 1340px; margin: 0 auto; padding: 0 var(--gutter); }
.kit-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: clamp(56px, 8vw, 112px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.kit-head h1 { margin: 0; }
.kit-head .sub { max-width: 52ch; }
.get-all { flex: none; display: flex; align-items: center; gap: 14px; padding: 14px 22px 14px 18px; border-radius: 999px; background: rgba(236, 239, 243, .94); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .6); transition: background .2s, transform .2s var(--ease); }
.get-all:hover { background: var(--text); }
.get-all:active { transform: translateY(1px); }
.get-all svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.get-all small { display: block; font-weight: 400; font-size: 13px; color: #3a3d44; }

.kit-sec { padding: clamp(56px, 7vw, 96px) 0 0; }
.kit-sec h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.06; font-weight: 600; letter-spacing: -.024em; margin: 0 0 14px; }
.kit-sec .lead { color: var(--text-2); font-size: 17px; max-width: 62ch; text-wrap: pretty; margin: 0 0 28px; }

/* Plates: each logo sits on the ground it was drawn for, with its downloads printed under it. */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { margin: 0; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .7); display: flex; flex-direction: column; }
.tile.span-2 { grid-column: span 2; }
.stage { display: grid; place-items: center; aspect-ratio: 16 / 7; padding: 10% 12%; }
.stage.tall { aspect-ratio: 1; padding: 18%; }
.stage img { width: 100%; height: 100%; object-fit: contain; }
.stage img.mk { width: 46%; }
.stage img.wm { width: 78%; }
.on-dark .stage { background: #0b0c0e; }
.on-light .stage { background: #eef0f3; }
.on-field .stage { background: radial-gradient(80% 90% at 20% 15%, rgba(31, 85, 96, .55), transparent 70%), radial-gradient(70% 80% at 85% 90%, rgba(122, 64, 38, .5), transparent 70%), #0b0c0e; }
.tile figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: rgba(14, 15, 18, .92); border-top: 1px solid var(--line); }
.tile .t { font-weight: 600; font-size: 15px; }
.tile .t small { display: block; font-weight: 400; font-size: 13px; color: var(--text-3); }
.dl { display: flex; gap: 4px; flex: none; }
.dl a { font: 600 11.5px/1 var(--cond); letter-spacing: .075em; text-transform: uppercase; color: var(--text); text-decoration: none; padding: 8px 9px; border: 1px solid var(--line-2); border-radius: 4px; transition: background .2s, border-color .2s; }
.dl a:hover { background: var(--selected); border-color: rgba(236, 239, 243, .3); }

.icons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.icon-big .stage.tall { padding: 14%; }
.sizes .stage { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 10%; }
.sizes .stage img { width: auto; height: auto; flex: none; }

.name-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.say { margin: 0; font-size: clamp(72px, 11vw, 168px); line-height: .9; font-weight: 600; letter-spacing: -.04em; color: var(--text); }
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rules li { position: relative; padding: 12px 16px 12px 44px; border-radius: 6px; border: 1px solid var(--line); background: rgba(14, 15, 18, .6); font-size: 16px; color: var(--text); }
.rules li::before { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; content: ""; background: currentColor; -webkit-mask: var(--glyph) center / contain no-repeat; mask: var(--glyph) center / contain no-repeat; }
.rules .yes::before { color: var(--text); --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E"); }
.rules .no { color: var(--text-2); }
.rules .no::before { color: var(--text-3); --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 4l8 8M12 4l-8 8'/%3E%3C/svg%3E"); }
.rules .no { text-decoration: line-through; text-decoration-color: rgba(236, 239, 243, .25); }
.rules.wide .no { text-decoration: none; }
.rules.wide .no::after { content: none; }
.rules.wide { grid-template-columns: 1fr 1fr; }

.swatches { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.swatches button { width: 100%; display: grid; grid-template-rows: auto auto auto auto; text-align: left; padding: 0 0 14px; border: 1px solid var(--line); border-radius: 6px; background: rgba(14, 15, 18, .7); color: var(--text); font: inherit; cursor: copy; overflow: hidden; transition: border-color .2s, transform .2s var(--ease); }
.swatches button:hover { border-color: var(--line-2); transform: translateY(-2px); }
.swatches .chip { display: block; aspect-ratio: 3 / 2; background: var(--c); border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.swatches .n, .swatches .hx, .swatches .r { padding: 0 14px; }
.swatches .n { font-weight: 600; font-size: 15px; }
.swatches .hx { font: 400 13.5px var(--mono); color: var(--text-2); margin-top: 2px; }
.swatches .r { font-size: 13px; color: var(--text-3); margin-top: 6px; }
.copied { min-height: 20px; margin: 12px 0 0; font-size: 14px; color: var(--text-2); }

.faces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.face { padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: 6px; background: rgba(14, 15, 18, .6); }
.face p { margin: 0; }
.spec { font-size: 72px; line-height: 1; letter-spacing: -.02em; margin-bottom: 18px !important; }
.spec.cond { font: 600 64px/1 var(--cond); letter-spacing: .04em; }
.spec.mono { font: 400 64px/1 var(--mono); }
.fn { font-weight: 600; font-size: 16px; }
.fr { color: var(--text-3); font-size: 14px; margin-top: 4px !important; }

.brand .foot { margin-top: clamp(72px, 9vw, 128px); }

@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .icons { grid-template-columns: 1fr 1fr; }
  .icons .sizes { grid-column: 1 / -1; }
  .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .faces { grid-template-columns: 1fr; }
  .rules.wide { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .brand .nav { display: none; }
  .kit-head { flex-direction: column; align-items: flex-start; }
  .tiles { grid-template-columns: 1fr; }
  .tile.span-2 { grid-column: auto; }
  .icons { grid-template-columns: 1fr; }
  .name-cols { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sizes .stage { gap: 14px; }
  .stage.tall { aspect-ratio: 4 / 3; padding: 9%; }
}
