/* ==========================================================================
   Lexiy -- a photo-mosaic micro-blog.

   The photographs supply all the colour, so the chrome stays deliberately
   quiet: a warm near-neutral ground, one accent, and a per-subject tint used
   only on kickers and text tiles.

   Two layouts, on purpose. The mosaic is for finding things; the post page is
   for reading one idea without distraction.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */

:root {
  --bg:          #f7f6f3;
  --surface:     #ffffff;
  --ink:         #17171a;
  --ink-soft:    #5d5d68;
  --ink-faint:   #8b8b95;
  --line:        rgba(20, 20, 25, 0.12);
  --accent:      #b4441f;
  --scrim:       rgba(10, 10, 14, 0.78);

  /* One tint per subject, plus a wash for text tiles. */
  --tint-travel:         #1f6f78;
  --tint-travel-wash:    #e4eff0;
  --tint-software:       #44489e;
  --tint-software-wash:  #e7e8f4;
  --tint-lifestyle:      #9a5a2c;
  --tint-lifestyle-wash: #f4eae0;
  --tint-games:          #7a3a86;
  --tint-games-wash:     #f1e7f3;

  --font-ui: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
             "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
                Georgia, "Times New Roman", serif;

  --gut: clamp(1rem, 4vw, 2.5rem);
  --gap: clamp(0.5rem, 1.6vw, 1.25rem);
  --radius: 10px;
  --read: 62ch;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #121214;
    --surface:   #1b1b1f;
    --ink:       #f1f0ed;
    --ink-soft:  #a6a6af;
    --ink-faint: #76767f;
    --line:      rgba(255, 255, 255, 0.14);
    --accent:    #ff8a5c;

    --tint-travel:         #6fc4cd;
    --tint-travel-wash:    #17282a;
    --tint-software:       #9095e8;
    --tint-software-wash:  #1d1e2e;
    --tint-lifestyle:      #d79a63;
    --tint-lifestyle-wash: #2a2119;
    --tint-games:          #c791d2;
    --tint-games-wash:     #261b28;
  }
}

/* --- Reset -------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

.skip {
  position: absolute;
  left: -9999px;
  background: var(--surface);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 20;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.wrap { max-width: 1400px; margin: 0 auto; padding: 0 var(--gut); }

/* --- Masthead ----------------------------------------------------------- */

.masthead {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.masthead__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.9rem var(--gut);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand { text-decoration: none; margin-right: auto; display: block; }

.brand__name {
  display: block;
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.brand__tagline {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-faint);
  margin-top: 0.1rem;
}

.nav { display: flex; gap: 0.25rem 1.1rem; flex-wrap: wrap; }

.nav__link {
  text-decoration: none;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--ink); }
.nav__link.is-active { color: var(--ink); border-bottom-color: var(--accent); }

/* Menu button: a checkbox, so the whole site stays script-free. */
.nav-button { display: none; }

@media (max-width: 699px) {
  .nav-button {
    display: block;
    width: 2.75rem;
    height: 2.75rem;
    margin: -0.4rem -0.6rem -0.4rem 0;
    cursor: pointer;
    position: relative;
  }
  .nav-button span,
  .nav-button span::before,
  .nav-button span::after {
    position: absolute;
    left: 0.75rem;
    width: 1.25rem;
    height: 2px;
    background: var(--ink);
    content: "";
  }
  .nav-button span { top: 1.375rem; }
  .nav-button span::before { top: -6px; }
  .nav-button span::after { top: 6px; }

  .nav {
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    display: none;
    border-top: 1px solid var(--line);
    margin-top: 0.6rem;
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav__link {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.875rem;
  }
  .nav__link.is-active { border-bottom-color: var(--accent); }
}

/* --- Page headings ------------------------------------------------------ */

.pagehead { padding: clamp(1.5rem, 5vw, 3rem) 0 clamp(1rem, 3vw, 1.75rem); max-width: 56ch; }

.pagehead__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.pagehead__title {
  margin: 0;
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 680;
}

.pagehead__lede, .pagehead__count { color: var(--ink-soft); }
.pagehead__lede { font-family: var(--font-serif); font-size: 1.0625rem; line-height: 1.55; }
.pagehead__count { font-size: 0.8125rem; margin-bottom: 0; }

.empty { color: var(--ink-faint); padding: 3rem 0; }

/* --- The tile wall ------------------------------------------------------ */
/* Uniform aspect-ratio tiles, not ragged masonry. Ragged columns would need
   JavaScript to compute row spans, or CSS columns -- which lays out
   down-then-across and so scrambles chronological order. Variety comes from
   feature spans and text tiles instead. */

.mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--gap);
  padding-bottom: clamp(2rem, 6vw, 4rem);
}

.mosaic--small { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

@media (max-width: 719px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  color: #fff;
  isolation: isolate;
}

.tile--feature { grid-column: span 2; aspect-ratio: 8 / 5; }

@media (max-width: 359px) {
  .mosaic { grid-template-columns: minmax(0, 1fr); }
  .tile--feature { grid-column: span 1; aspect-ratio: 4 / 5; }
}

.tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.tile:hover .tile__img, .tile:focus-visible .tile__img { transform: scale(1.035); }

.tile__meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(0.7rem, 2vw, 1.1rem);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: linear-gradient(to top, var(--scrim) 0%, rgba(10, 10, 14, 0.42) 52%, rgba(10, 10, 14, 0) 100%);
}

.tile__kicker {
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}

.tile__title {
  font-size: clamp(0.9375rem, 2.4vw, 1.125rem);
  font-weight: 620;
  line-height: 1.22;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.tile--feature .tile__title { font-size: clamp(1.0625rem, 2.6vw, 1.5rem); }

/* Text tiles. A post about vim registers has no good photograph, and padding
   the wall with stock imagery would cheapen it -- so posts with no image get a
   typographic card tinted by subject instead. */

.tile--text {
  color: var(--ink);
  background: var(--tint-wash, var(--surface));
  border: 1px solid var(--line);
}

.tile--text .tile__meta {
  position: static;
  height: 100%;
  background: none;
  justify-content: flex-start;
  gap: 0.55rem;
}

.tile--text .tile__kicker { color: var(--tint, var(--accent)); opacity: 1; }

.tile--text .tile__title {
  font-size: clamp(1.0625rem, 3vw, 1.375rem);
  line-height: 1.18;
}

.tile__excerpt {
  font-family: var(--font-serif);
  font-size: clamp(0.8125rem, 2vw, 0.9375rem);
  line-height: 1.45;
  color: var(--ink-soft);
  overflow: hidden;
}

.tile--text::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2.5rem;
  background: linear-gradient(to top, var(--tint-wash, var(--surface)), transparent);
}

/* Subject tints. */
[data-subject="travel"]    { --tint: var(--tint-travel);    --tint-wash: var(--tint-travel-wash); }
[data-subject="software"]  { --tint: var(--tint-software);  --tint-wash: var(--tint-software-wash); }
[data-subject="lifestyle"] { --tint: var(--tint-lifestyle); --tint-wash: var(--tint-lifestyle-wash); }
[data-subject="games"]     { --tint: var(--tint-games);     --tint-wash: var(--tint-games-wash); }

/* --- Pagination --------------------------------------------------------- */

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0 0 clamp(2rem, 6vw, 4rem);
  font-size: 0.875rem;
}
.pager__link { text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.pager__link:hover { border-bottom-color: var(--accent); }
.pager__count { color: var(--ink-faint); font-variant-numeric: tabular-nums; }

/* --- The reading page --------------------------------------------------- */

.post {
  /* The text column widens with the window, and .post__body's type size grows
     with it, so wider screens get longer lines without losing readability. */
  --measure: clamp(34rem, 20rem + 30vw, 46rem);
  max-width: calc(var(--measure) + 2 * var(--gut));
  margin: 0 auto;
  padding: 0 var(--gut) clamp(2rem, 6vw, 3.5rem);
}

/* Phones: full-bleed photo above the text. Tablets and laptops: photo up to
   960px wide, text centred beneath. Desktops: photo and text side by side,
   splitting the extra width between them, the photo pinned while the text
   scrolls. Text-only posts are a single column of --measure. */

.post--image { max-width: calc(960px + 2 * var(--gut)); }
.post__text { max-width: var(--measure); margin-inline: auto; }

.post__figure { margin: 0 calc(-1 * var(--gut)) clamp(1.25rem, 4vw, 2rem); }
.post__figure img {
  width: auto;
  height: auto;
  max-width: 100%;
  /* Portrait photos must not push the title off the first screen: leave
     ~15rem for the masthead, kicker and title, but never shrink below 12rem. */
  max-height: max(12rem, min(70vh, calc(100vh - 15rem)));
  max-height: max(12rem, min(70svh, calc(100svh - 15rem)));
  margin-inline: auto;
}

@media (min-width: 700px) {
  .post__figure { margin-inline: 0; margin-top: clamp(1rem, 3vw, 2rem); }
  .post__figure img { border-radius: var(--radius); }
}

@media (min-width: 1100px) {
  .post--image {
    max-width: 1800px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(var(--read), 1fr);
    column-gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
  }
  .post--image .post__figure {
    position: sticky;
    top: 1.5rem;
    margin: 0;
  }
  /* Fit the first screen below the masthead, so the whole photo is seen. */
  .post--image .post__figure img {
    max-height: calc(100vh - 9rem);
    max-height: calc(100svh - 9rem);
    /* A height-capped portrait sits against the text, not out at the edge. */
    margin-inline: auto 0;
  }
  .post--image .post__text { max-width: none; margin: 0; }
  .post--image .post__head { padding-top: 0; }
}

.post__head { padding-top: clamp(0.5rem, 2vw, 1rem); }

.post__kicker {
  display: inline-block;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tint, var(--accent));
  text-decoration: none;
  margin-bottom: 0.6rem;
}
.post__kicker:hover { text-decoration: underline; text-underline-offset: 3px; }

.post__title {
  margin: 0;
  font-size: clamp(1.625rem, 5.5vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.028em;
  font-weight: 680;
  text-wrap: balance;
}

.post__date { color: var(--ink-faint); font-size: 0.8125rem; margin: 0.7rem 0 0; }
.post__geo { color: inherit; text-underline-offset: 3px; }
.post__geo:hover { color: var(--accent); }

.post__body {
  font-family: var(--font-serif);
  font-size: clamp(1.0625rem, 0.8rem + 0.55vw, 1.375rem);
  line-height: 1.62;
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
}

.post__body p { margin: 0 0 1.1em; }
.post__body a { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.post__body code {
  font-size: 0.9em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.1em 0.35em;
}
.post__body blockquote {
  margin: 1.4em 0;
  padding-left: 1.1em;
  border-left: 2px solid var(--accent);
  color: var(--ink-soft);
  font-style: italic;
}
.post__body h2, .post__body h3 {
  font-family: var(--font-ui);
  letter-spacing: -0.02em;
  margin: 1.8em 0 0.5em;
}

/* --- Tag chips and the collection call-out ------------------------------ */

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: clamp(1.5rem, 4vw, 2.25rem); }

.chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  text-decoration: none;
  font-size: 0.8125rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip__count { color: var(--ink-faint); font-size: 0.75rem; font-variant-numeric: tabular-nums; }

.collect {
  margin: clamp(1.5rem, 4vw, 2rem) 0 0;
  padding: 1.1rem 1.25rem;
  background: var(--tint-wash, var(--surface));
  border-radius: var(--radius);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.collect a { color: inherit; }
.collect__read { display: block; margin-top: 0.4rem; font-weight: 600; color: var(--tint, var(--accent)); }

/* --- Prev / next -------------------------------------------------------- */

.updown {
  display: grid;
  gap: 0.75rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 620px) { .updown { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }

.updown__link {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 560;
  line-height: 1.3;
  display: block;
}
.updown__link span {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 400;
  margin-bottom: 0.3rem;
}
.updown__link:hover { color: var(--accent); }
.updown__link--older { text-align: right; }
@media (max-width: 619px) { .updown__link--older { text-align: left; } }

/* --- Related strip ------------------------------------------------------ */

.strip { padding-top: clamp(1.5rem, 4vw, 2.5rem); border-top: 1px solid var(--line); }

.strip__title {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 1rem;
  font-weight: 600;
}

/* --- "Read as one article" ---------------------------------------------- */

.bigread {
  display: block;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  text-decoration: none;
  background: var(--surface);
  transition: background 160ms, color 160ms;
}
.bigread:hover { background: var(--ink); color: var(--bg); }

.bigread__label { display: block; font-weight: 640; font-size: 1rem; letter-spacing: -0.01em; }
.bigread__label::after { content: " \2192"; }
.bigread__hint { display: block; font-size: 0.8125rem; color: var(--ink-faint); margin-top: 0.2rem; }
.bigread:hover .bigread__hint { color: inherit; opacity: 0.75; }

/* --- The stitched collection read --------------------------------------- */
/* Where "the collection constitutes a comprehensive article" stops being a
   claim and becomes a page. */

.collection { max-width: 1200px; margin: 0 auto; padding: 0 var(--gut) clamp(3rem, 8vw, 5rem); }

.collection__head {
  padding: clamp(1.5rem, 5vw, 3.5rem) 0 clamp(1rem, 3vw, 2rem);
  max-width: var(--read);
}

.collection__title {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}

.collection__lede {
  font-family: var(--font-serif);
  font-size: clamp(1.0625rem, 2.6vw, 1.25rem);
  line-height: 1.58;
  color: var(--ink-soft);
  margin-top: 1rem;
}

.collection__meta { font-size: 0.8125rem; color: var(--ink-faint); margin-top: 1rem; }

/* Contents: a scrolling chip row on phones, a sticky rail on desktop. Both
   are always visible, which keeps the page script-free. */

.contents {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0;
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.contents__title {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.contents__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.contents__list li { flex: 0 0 auto; }

.contents__list a {
  display: block;
  white-space: nowrap;
  text-decoration: none;
  font-size: 0.8125rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.contents__list a:hover { border-color: var(--accent); color: var(--accent); }

@media (min-width: 1000px) {
  .collection {
    display: grid;
    grid-template-columns: 13rem minmax(0, var(--read));
    column-gap: clamp(2rem, 5vw, 4rem);
    justify-content: center;
    align-items: start;
  }
  .collection__head { grid-column: 1 / -1; }

  .contents {
    position: sticky;
    top: 2rem;
    border: 0;
    padding: 0;
    counter-reset: toc;
  }
  .contents__list { flex-direction: column; gap: 0; overflow: visible; }
  .contents__list a {
    white-space: normal;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    background: none;
    padding: 0.45rem 0 0.45rem 0.8rem;
    color: var(--ink-soft);
    font-size: 0.8125rem;
    line-height: 1.3;
  }
  .contents__list a::before {
    counter-increment: toc;
    content: counter(toc) ". ";
    color: var(--ink-faint);
  }
  .contents__list a:hover { border-left-color: var(--accent); color: var(--ink); }
}

.section {
  padding-block: clamp(2rem, 6vw, 3.5rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: 1.5rem;
}
.section:first-child { border-top: 0; padding-top: 0; }

.section__figure { margin: 0 0 clamp(1rem, 3vw, 1.5rem); }
.section__figure img { width: 100%; height: auto; border-radius: var(--radius); }

.section__title {
  margin: 0;
  font-size: clamp(1.375rem, 4.5vw, 1.875rem);
  line-height: 1.14;
  letter-spacing: -0.022em;
  font-weight: 660;
  text-wrap: balance;
}

.section__body {
  font-family: var(--font-serif);
  font-size: clamp(1.0625rem, 2.6vw, 1.1875rem);
  line-height: 1.62;
  margin-top: 0.9rem;
}
.section__body p { margin: 0 0 1.1em; }
.section__body p:last-child { margin-bottom: 0; }

.section__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: baseline;
  margin: 1.25rem 0 0;
  font-size: 0.75rem;
  color: var(--ink-faint);
}
.section__perma { text-decoration: none; color: var(--ink-soft); }
.section__perma:hover { color: var(--accent); }

/* --- Tag cloud and curated collections ---------------------------------- */

.cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: baseline;
  padding-bottom: clamp(2rem, 6vw, 3.5rem);
}

.cloud__tag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  letter-spacing: -0.01em;
}
.cloud__tag:hover { border-bottom-color: var(--accent); color: var(--accent); }
.cloud__count { font-size: 0.6875rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }

.cloud__tag[data-weight="1"] { font-size: 0.9375rem; }
.cloud__tag[data-weight="2"] { font-size: 1.125rem; }
.cloud__tag[data-weight="3"] { font-size: 1.375rem; font-weight: 560; }
.cloud__tag[data-weight="4"] { font-size: 1.625rem; font-weight: 600; }
.cloud__tag[data-weight="5"] { font-size: 2rem; font-weight: 640; }

.collections { list-style: none; margin: 0; padding: 0 0 clamp(2rem, 6vw, 4rem); }

.collections__item { padding: 1.1rem 0; border-top: 1px solid var(--line); }

.collections__link {
  text-decoration: none;
  font-size: 1.1875rem;
  font-weight: 620;
  letter-spacing: -0.018em;
}
.collections__link:hover { color: var(--accent); }
.collections__link::after { content: " \2192"; color: var(--ink-faint); }

.collections__count { font-size: 0.75rem; color: var(--ink-faint); margin-left: 0.6rem; }

.collections__lede {
  font-family: var(--font-serif);
  color: var(--ink-soft);
  margin: 0.4rem 0 0;
  font-size: 0.9375rem;
  max-width: var(--read);
}

/* --- Footer ------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 2rem var(--gut) 3rem;
  max-width: 1400px;
  margin: 0 auto;
  color: var(--ink-faint);
  font-size: 0.8125rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  justify-content: space-between;
}
.footer p { margin: 0; }
.footer a { color: var(--ink-soft); text-decoration: none; }
.footer a:hover { color: var(--accent); }
