/* The Scratch logo row, ported from the marketing site (scratch-site css/site.css, 2026-10-10): planet ball |
   "Scratch" in Fraunces | crossed white tees, edition line in small capitals under the word. Everything is sized in
   em off .brand's font-size (= the word's size), so one number scales the whole mark. */
.brand { display: inline-grid; grid-template-columns: auto auto; align-items: center; column-gap: .22em; font-size: 30px; color: #fff; line-height: 1; }
.planet-wrap { grid-column: 1; grid-row: 1 / span 2; align-self: center; display: inline-block; line-height: 0; margin: 0 .06em 0 -.2em; }
.brand-planet { display: block; width: 1.75em; height: 1.75em; max-width: none; object-fit: cover; pointer-events: none;
  clip-path: circle(43.9% at 50% 51%); transform: scale(1.14); transform-origin: 50% 51%;
  filter: drop-shadow(0 4px 10px rgba(5, 9, 26, .5)); }   /* stays upright; it no longer turns (Luke, 2026-10-10) */
.brand-word { grid-column: 2; grid-row: 1; font-family: var(--sans); font-weight: 600; font-size: 1em; letter-spacing: -.035em; text-shadow: 0 2px 12px rgba(5, 9, 26, .55); }
/* The blue Earth ball is the full stop after the word: it sits on the baseline, tucked in close. */
.brand-dot { display: inline-block; width: .26em; height: .26em; margin: 0 0 0 .05em; vertical-align: baseline; filter: drop-shadow(0 2px 6px rgba(5, 9, 26, .45)); }
/* Hangs under the word without widening the row, so the ball stays tight to "Deep Field". */
.brand-ed { grid-column: 2; grid-row: 2; width: 0; overflow: visible; white-space: nowrap; margin-top: .1em; padding-left: .12em;
  font-family: var(--sans); font-weight: 600; font-size: max(10px, .34em); letter-spacing: .1em; text-transform: uppercase; line-height: 1.2;
  text-shadow: 0 1px 8px rgba(5, 9, 26, .55); }
/* No edition line: the ball sits on the word's row only, so it centres on "Deep Field" rather than on an empty second row. */
.brand:not(:has(.brand-ed)) .planet-wrap { grid-row: 1; }

