/* thismaxis.com — one column, mobile first, no web fonts, no JS. */
:root {
  --ink: #1d1d1f;
  --muted: #666;
  --line: #e6e6e6;
  --card: #fff;
  --halo: 0 0 3px #fff, 0 0 6px #fff, 0 0 12px #fff, 0 1px 0 #fff;  /* legibility over the speckled tile */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: #f7f7f5 url("/img/bg.jpg") repeat;
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

/* Header */
.top { position: relative; max-width: 680px; margin: 0 auto; padding: 28px 16px 8px; text-align: center; }
/* The site mark sits ON the title line: at 96px above it, it read as a first
   project card — right before the vlog card carrying the very same logo. */
.brandline { display: flex; align-items: center; justify-content: center; gap: 12px; }
.mark { width: 48px; height: 48px; border-radius: 50%; }
.top h1 { margin: 0; font-size: clamp(30px, 6.4vw, 40px); letter-spacing: .01em; }
/* The speckled background eats small grey text, so the two pieces of copy that
   sit directly on it get a white halo and the full ink colour. */
.top .intro { margin: 10px auto 0; max-width: 34em; color: var(--ink); font-weight: 600; text-shadow: var(--halo); }
.lang { position: absolute; top: 16px; right: 16px; }
.lang a { display: inline-block; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px;
          background: var(--card); font-weight: 700; font-size: 14px; text-decoration: none; }
.lang a:hover { border-color: var(--ink); }

/* Content */
main { max-width: 680px; margin: 0 auto; padding: 8px 16px 48px; }

/* Project card: the project's own colour on the left edge and the name. */
.project { background: var(--card); border-left: 6px solid var(--accent, #999); border-radius: 12px;
           padding: 20px 20px 8px; margin: 20px 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.project > header { display: flex; align-items: center; gap: 14px; }
.project > header img { width: 72px; height: 72px; flex: none; border-radius: 50%; object-fit: cover; }
.project h2 { margin: 0; font-size: 22px; color: var(--accent, inherit); }
.tagline { margin: 2px 0 0; color: var(--muted); }
.description { margin: 14px 0 6px; }

/* Channel rows: flag + brand on the left, platform chips on the right. */
.channels { list-style: none; margin: 0; padding: 0; }
.channel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
           padding: 12px 0; border-top: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 8px; min-width: 11em; font-weight: 600; }
.flag { width: 20px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px;
        border: 1px solid #ddd; border-radius: 999px; background: var(--card);
        font-size: 14px; text-decoration: none; white-space: nowrap; }
.chip img { width: 20px; height: 20px; object-fit: contain; }
.chip:hover { border-color: var(--accent, var(--ink)); }

/* Legal pages */
.legal { background: var(--card); border-radius: 12px; padding: 24px; line-height: 1.6; }
.legal h1 { margin-top: 0; font-size: 26px; }
.legal h2 { font-size: 18px; margin: 24px 0 6px; }
.legal p, .legal li { margin: 6px 0; }
.legal .effective { color: var(--muted); }

/* Footer */
footer { max-width: 680px; margin: 0 auto; padding: 0 16px 40px; text-align: center;
         color: var(--ink); font-size: 14px; font-weight: 600; text-shadow: var(--halo); }
footer a { margin: 0 4px; }
footer > div { margin-top: 4px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 480px) {
  .brand { min-width: 100%; }
}
