/* ---------- fonts (self-hosted, OFL) ---------- */
@font-face { font-family: "Saira XC"; src: url("fonts/saira-extra-condensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Saira XC"; src: url("fonts/saira-extra-condensed-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("fonts/atkinson-hyperlegible-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("fonts/atkinson-hyperlegible-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- alignment tokens ---------- */
/* Hero: Paragon City. Clear sky, hero blue, gold trim. */
:root, :root[data-theme="hero"] {
  --bg: #E9F0FA;
  --bg-2: #D9E5F6;
  --surface: #FFFFFF;
  --ink: #0E1A3A;
  --muted: #45537A;
  --primary: #1F4FB8;
  --on-primary: #FFFFFF;
  --accent: #F5C518;
  --edge: #0E1A3A;
  --rule: rgba(14, 26, 58, .16);
  --dot: rgba(31, 79, 184, .18);
  --dim: .2;
  --hi: #1F4FB8;
  color-scheme: light;
}
/* Villain: the Rogue Isles. Night, oxblood, ember. */
:root[data-theme="villain"] {
  --bg: #13090C;
  --bg-2: #1D0D12;
  --surface: #221117;
  --ink: #F2E7DB;
  --muted: #B8A097;
  --primary: #B0122B;
  --on-primary: #FFF3E8;
  --accent: #FF8A2A;
  --edge: #5E2130;
  --rule: rgba(242, 231, 219, .14);
  --dot: rgba(200, 24, 52, .34);
  --dim: .16;
  --hi: #EF4A5F;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 "Atkinson", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; }
.skip:focus { left: 8px; }
.noscript { text-align: center; padding: 40vh 16px; }
.display { font-family: "Saira XC", "Arial Narrow", sans-serif; font-weight: 800; line-height: .9; letter-spacing: .01em; }

/* ---------- top bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px clamp(16px, 4vw, 40px);
  padding-top: max(12px, env(safe-area-inset-top));
  pointer-events: none;
}
.bar > * { pointer-events: auto; }
.bar__name {
  font: 800 1.5rem/1 "Saira XC", sans-serif; text-decoration: none;
  opacity: var(--bar-name, 0); transform: translateY(calc((1 - var(--bar-name, 0)) * -6px));
  transition: opacity .2s linear;
}
.bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--rule);
  opacity: var(--bar-name, 0);
}

/* Hero / Villain switch */
.align {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 1.05rem/1 "Saira XC", sans-serif; letter-spacing: .02em;
  color: var(--ink); background: var(--surface);
  border: 2px solid var(--edge); border-radius: 999px;
  padding: 6px 12px; cursor: pointer;
  box-shadow: 3px 3px 0 var(--primary);
}
.align__opt { opacity: .45; transition: opacity .25s; }
:root[data-theme="hero"] .align__opt--hero,
:root[data-theme="villain"] .align__opt--villain { opacity: 1; }
.align__track { width: 38px; height: 20px; border-radius: 999px; background: var(--primary); position: relative; }
.align__knob {
  position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); transition: transform .35s cubic-bezier(.3, 1.4, .5, 1);
}
:root[data-theme="villain"] .align__knob { transform: translateX(18px); }

/* theme change: circular wipe from the switch */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: wipe .7s cubic-bezier(.6, 0, .2, 1); }
@keyframes wipe { from { clip-path: circle(0 at var(--wipe-x, 100%) var(--wipe-y, 0)); } to { clip-path: circle(150vmax at var(--wipe-x, 100%) var(--wipe-y, 0)); } }

/* ---------- hero ---------- */
.hero { height: 210vh; position: relative; }
.hero__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; place-items: center; text-align: center;
  padding: 80px 16px 40px;
  opacity: calc(1 - max(0, (var(--p, 0) - .72) * 3.6));
}
/* halftone burst behind the name */
.hero__burst {
  position: absolute; left: 50%; top: 50%;
  width: 170vmax; height: 170vmax; margin: -85vmax 0 0 -85vmax;
  background:
    radial-gradient(circle, var(--dot) 28%, transparent 30%) 0 0 / 14px 14px,
    repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--primary) 10%, transparent) 0 6deg, transparent 6deg 15deg);
  -webkit-mask: radial-gradient(circle, #000 8%, transparent 48%);
  mask: radial-gradient(circle, #000 8%, transparent 48%);
  transform: rotate(calc(var(--p, 0) * 50deg)) scale(calc(1 + var(--p, 0) * .7));
  will-change: transform;
}
/* gold/ember speed band */
.hero__band {
  position: absolute; left: -10%; right: -10%; top: 58%; height: clamp(46px, 9vw, 110px);
  background: var(--accent); transform: rotate(-6deg) translateX(calc(var(--p, 0) * -18%));
  opacity: .9;
}
.hero__band::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 22px, color-mix(in srgb, var(--bg) 35%, transparent) 22px 26px);
}
.hero__inner {
  position: relative; display: grid; justify-items: center; gap: 18px;
  transform: translateY(calc(var(--p, 0) * -14vh)) scale(calc(1 - var(--p, 0) * .42));
  will-change: transform;
}
.avatar {
  width: clamp(110px, 16vw, 170px); aspect-ratio: 1; border-radius: 50%;
  border: 4px solid var(--edge); background: var(--surface);
  box-shadow: 6px 6px 0 var(--primary);
  overflow: hidden; display: grid; place-items: center;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar__blank { font: 800 4.4rem/1 "Saira XC", sans-serif; color: var(--hi); }
.hero__name {
  margin: 0; font-size: clamp(4.6rem, 19vw, 15.5rem);
  color: var(--ink);
  text-shadow: .035em .035em 0 var(--primary), .07em .07em 0 var(--accent);
}
.hero__tag {
  margin: 0; max-width: 34ch; font-size: clamp(1.1rem, 2.2vw, 1.45rem); color: var(--ink);
  background: color-mix(in srgb, var(--bg) 82%, transparent); padding: 4px 12px; border-radius: 6px;
  opacity: calc(1 - var(--p, 0) * 2.4);
}
.facts {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px;
  color: var(--muted); font-size: .98rem;
  opacity: calc(1 - var(--p, 0) * 2.4);
}
.facts li::before { content: "✦"; color: var(--primary); margin-right: 8px; }
.cue {
  position: absolute; bottom: max(22px, env(safe-area-inset-bottom)); left: 50%; translate: -50% 0;
  width: 26px; height: 42px; border: 2px solid var(--muted); border-radius: 14px;
  opacity: calc(1 - var(--p, 0) * 6);
}
.cue::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--muted); animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } }

/* ---------- sections ---------- */
.block { position: relative; max-width: 1120px; margin: 0 auto; padding: clamp(72px, 12vh, 140px) clamp(16px, 4vw, 40px); }
.block__head { margin-bottom: clamp(28px, 5vh, 48px); max-width: 60ch; }
.block__title {
  margin: 0; font-size: clamp(2.8rem, 7vw, 5rem); color: var(--ink);
  text-shadow: .045em .045em 0 color-mix(in srgb, var(--primary) 55%, transparent);
}
.block__intro { margin: 14px 0 0; color: var(--muted); font-size: 1.15rem; }

/* statement: words light up as you scroll, Apple style */
.statement { margin: 0; font-size: clamp(1.7rem, 4.2vw, 3.1rem); line-height: 1.22; font-weight: 700; max-width: 26ch; letter-spacing: -.01em; }
.statement .w { opacity: clamp(var(--dim), calc(var(--lit, 999) - var(--i)), 1); transition: opacity .12s linear; }

/* cards: comic panels */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.card {
  background: var(--surface); border: 2px solid var(--edge); border-radius: 4px 14px 4px 14px;
  padding: 24px 22px 22px; box-shadow: 6px 6px 0 var(--primary);
}
.card:nth-child(3n + 2) { box-shadow: 6px 6px 0 var(--accent); }
.card h3 { margin: 0 0 10px; font: 800 1.9rem/1 "Saira XC", sans-serif; }
.card p { margin: 0; color: var(--muted); }
.card .media { margin: -24px -22px 18px; border-bottom: 2px solid var(--edge); border-radius: 2px 12px 0 0; overflow: hidden; }

/* rows: the repair bench */
.rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--edge); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px 40px; padding: 28px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.row h3 { margin: 0; font: 800 clamp(2.2rem, 5.5vw, 3.8rem)/.95 "Saira XC", sans-serif; color: var(--hi); }
.row p { margin: 0; color: var(--muted); font-size: 1.12rem; }
.row .media { grid-column: 1 / -1; }
@media (max-width: 680px) { .row { grid-template-columns: 1fr; } }

/* repos */
.repos { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.repo { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--surface); border: 2px solid var(--edge); border-radius: 12px; transition: transform .18s, box-shadow .18s; }
.repo:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--primary); }
.repo h3 { margin: 0; font: 800 1.75rem/1 "Saira XC", sans-serif; overflow-wrap: anywhere; }
.repo h3 a { text-decoration: none; }
.repo h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.repo p { margin: 0; color: var(--muted); flex: 1; }
.repo__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .9rem; color: var(--muted); }
.repo__lang::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--lang, var(--primary)); margin-right: 6px; vertical-align: 0; }
.repo--pinned { border-color: var(--primary); box-shadow: 4px 4px 0 var(--accent); }
.repo__pin { position: absolute; top: 14px; right: 16px; color: var(--accent); font-size: 1.1rem; }
.repos__more { margin-top: 26px; }
.repos__more a { font-weight: 700; color: var(--hi); }
.empty { color: var(--muted); }

/* languages */
.langs { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.lang { position: relative; padding: 26px 26px 28px; border-radius: 18px; overflow: hidden; background: var(--primary); color: var(--on-primary); min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; }
.lang:nth-child(2n) { background: var(--surface); color: var(--ink); border: 2px solid var(--edge); }
.lang__native { position: absolute; top: 6px; right: 14px; font: 800 clamp(5rem, 13vw, 9rem)/1 "Saira XC", "PingFang SC", "Noto Sans CJK SC", sans-serif; opacity: .9; color: var(--accent); }
.lang h3 { margin: 0 0 6px; font: 800 2.2rem/1 "Saira XC", sans-serif; }
.lang p { margin: 0; opacity: .88; max-width: 40ch; }

/* places: vertical scroll drives a horizontal track */
.places { position: relative; }
.places__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.places__pin .block__head { max-width: none; width: min(1120px, 100%); margin-left: auto; margin-right: auto; padding: 0 clamp(16px, 4vw, 40px); }
.places__track { display: flex; gap: 26px; padding: 0 clamp(16px, 4vw, 40px); width: max-content; transform: translateX(calc(var(--shift, 0px) * -1)); will-change: transform; }
.place {
  position: relative; flex: none; height: min(64vh, 600px); aspect-ratio: 4 / 5; max-width: 80vw; border-radius: 22px; overflow: hidden;
  border: 2px solid var(--edge); background: var(--surface); color: var(--ink);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 26px;
  box-shadow: 8px 8px 0 var(--primary);
}
.place:nth-child(2n) { box-shadow: 8px 8px 0 var(--accent); }
.place::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle, var(--dot) 30%, transparent 32%) 0 0 / 12px 12px;
  -webkit-mask: linear-gradient(160deg, #000, transparent 70%); mask: linear-gradient(160deg, #000, transparent 70%);
}
.place > * { position: relative; z-index: 1; }
.place__photo { position: absolute; inset: 0; z-index: 0; }
.place__photo img { width: 100%; height: 100%; object-fit: cover; }
.place--photo { color: #fff; }
.place--photo::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to top, rgba(0,0,0,.72), transparent 60%); }
.place__flag { font-size: 2.6rem; line-height: 1; margin-bottom: auto; }
.place h3 { margin: 0; font: 800 clamp(3rem, 7vw, 4.6rem)/.9 "Saira XC", sans-serif; }
.place__local { margin: 6px 0 0; font-size: 1.15rem; font-weight: 700; }
.place__country { margin: 2px 0 0; opacity: .75; }
.place__coords { margin: 14px 0 0; font-size: .85rem; opacity: .6; letter-spacing: .04em; font-variant-numeric: tabular-nums; }

/* user-added images */
.gallery { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; align-items: flex-start; }
.figure { margin: 0; width: var(--w, 50%); max-width: 100%; position: relative; }
.figure img { width: 100%; border-radius: 12px; border: 2px solid var(--edge); }
.figure figcaption { margin-top: 8px; color: var(--muted); font-size: .95rem; }

/* ---------- footer ---------- */
.foot { border-top: 2px solid var(--edge); padding: 40px clamp(16px, 4vw, 40px) max(40px, env(safe-area-inset-bottom)); }
.foot__inner { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; align-items: center; color: var(--muted); }
.foot__name { font: 800 2rem/1 "Saira XC", sans-serif; color: var(--ink); }
.foot a { color: var(--hi); font-weight: 700; }

/* ---------- reduced motion / static fallbacks ---------- */
.static .hero { height: auto; }
.static .hero__stage { position: relative; height: auto; min-height: 92vh; opacity: 1; }
.static .hero__inner, .static .hero__burst, .static .hero__band { transform: none; }
.static .hero__tag, .static .facts { opacity: 1; }
.static .places { height: auto !important; }
.static .places__pin { position: relative; height: auto; overflow: visible; padding: clamp(72px, 12vh, 140px) 0; }
.static .places__track { transform: none; width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; }
.static .place { scroll-snap-align: start; }
.static .statement .w { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- cape ---------- */
:root, :root[data-theme="hero"] { --cape: #1F4FB8; --cape-fold: #2C63D6; --crest: #F5C518; --crest-mark: #1F4FB8; }
:root[data-theme="villain"] { --cape: #8E0E23; --cape-fold: #B0122B; --crest: #FF8A2A; --crest-mark: #13090C; }
.hero__badge { position: relative; isolation: isolate; }
.hero__badge .avatar { position: relative; z-index: 1; }
/* the svg is laid out so its circle area lines up exactly with the picture */
.cape { position: absolute; left: -10%; top: -10%; width: 240%; height: 140%; z-index: 0; overflow: visible; pointer-events: none; }
.cape__body { fill: var(--cape); stroke: var(--edge); stroke-width: 3; stroke-linejoin: round; }
.cape__fold { fill: none; stroke: var(--cape-fold); stroke-width: 6; stroke-linecap: round; opacity: .9; }
.crest__shape { fill: var(--crest); stroke: var(--edge); stroke-width: 3; stroke-linejoin: round; }
.crest__mark { fill: var(--crest-mark); }
.crest__core { fill: var(--crest-mark); }
.crest--villain .crest__mark { fill: var(--crest); }
.crest--villain { display: none; }
:root[data-theme="villain"] .crest--hero { display: none; }
:root[data-theme="villain"] .crest--villain { display: inline; }

/* ---------- docked profile picture ---------- */
.dock {
  position: fixed; left: 0; top: 0; z-index: 55; width: 46px; height: 46px; padding: 0;
  border: 0; background: none; cursor: pointer; transform-origin: 0 0; opacity: 0;
  isolation: isolate; will-change: transform;
}
.dock .cape { z-index: 0; }
.dock__face {
  position: relative; z-index: 1; display: grid; place-items: center; width: 100%; height: 100%;
  border-radius: 50%; overflow: hidden; background: var(--surface);
  border: 3px solid var(--edge); box-shadow: 3px 3px 0 var(--primary);
  transition: transform .25s cubic-bezier(.3, 1.6, .5, 1);
}
.dock__face img { width: 100%; height: 100%; object-fit: cover; }
.dock__blank { font: 800 1.5rem/1 "Saira XC", sans-serif; color: var(--hi); }
.dock--fade { transition: opacity .3s; }
.dock:not(.dock--home) { pointer-events: none; }
.dock--home:hover .dock__face, .dock--home:focus-visible .dock__face { transform: translateY(-3px) scale(1.08); }
/* comic speech bubble */
.dock__bubble {
  position: absolute; left: -4px; top: calc(100% + 14px); white-space: nowrap;
  font: 600 1.15rem/1 "Saira XC", sans-serif; letter-spacing: .02em; color: var(--ink);
  background: var(--surface); border: 2px solid var(--edge); border-radius: 12px; padding: 8px 12px;
  box-shadow: 3px 3px 0 var(--accent);
  opacity: 0; transform: translateY(-6px) scale(.9); transform-origin: 20px 0;
  transition: opacity .18s, transform .25s cubic-bezier(.3, 1.6, .5, 1); pointer-events: none;
}
.dock__bubble::before {
  content: ""; position: absolute; left: 16px; top: -9px; width: 14px; height: 14px;
  background: var(--surface); border-left: 2px solid var(--edge); border-top: 2px solid var(--edge); transform: rotate(45deg);
}
.dock__say--villain { display: none; }
:root[data-theme="villain"] .dock__say--hero { display: none; }
:root[data-theme="villain"] .dock__say--villain { display: inline; }
.dock--home:hover .dock__bubble, .dock--home:focus-visible .dock__bubble, .dock--hint .dock__bubble { opacity: 1; transform: none; }
/* the bar name slides over to make room for the picture and cape */
.bar__name { margin-left: calc(var(--dock, 0) * 120px); }

/* ---------- skylines on the places cards ---------- */
.place__sky { position: absolute; left: 0; top: 0; width: 100%; height: 62%; z-index: 0; }
.sky__sun { fill: var(--accent); }
.sky__ring { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 4 8; opacity: .55; }
.sky__back { fill: var(--primary); opacity: .28; }
.sky__front, .sky__sails { fill: var(--primary); }
.sky__ground { fill: var(--accent); }
:root[data-theme="villain"] .sky__back { opacity: .4; }
/* keep the flag readable over the sun */
.place__flag { filter: drop-shadow(0 2px 0 var(--surface)); }

/* uploaded photos get a theme tint so text always reads and the colors match the side */
.place--photo::after {
  background:
    linear-gradient(to top, color-mix(in srgb, var(--primary) 30%, #000 70%) 0%, rgba(0, 0, 0, .45) 38%, transparent 68%),
    linear-gradient(color-mix(in srgb, var(--primary) 18%, transparent), color-mix(in srgb, var(--primary) 18%, transparent));
}

/* ---------- languages pop out on hover ---------- */
.lang {
  box-shadow: 0 0 0 var(--accent);
  transition: transform .35s cubic-bezier(.3, 1.5, .5, 1), box-shadow .35s cubic-bezier(.3, 1.5, .5, 1);
}
.lang:nth-child(2n) { box-shadow: 0 0 0 var(--primary); }
.lang__native { transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); transform-origin: 100% 0; }
.lang:hover, .lang:focus-within { transform: translate(-6px, -8px) rotate(-1.2deg); box-shadow: 10px 12px 0 var(--accent); }
.lang:nth-child(2n):hover, .lang:nth-child(2n):focus-within { transform: translate(-6px, -8px) rotate(1.2deg); box-shadow: 10px 12px 0 var(--primary); }
.lang:hover .lang__native, .lang:focus-within .lang__native { transform: scale(1.12) rotate(-3deg); }
.editing .lang:hover { transform: none; }

/* tiles: favorite games and similar short lists */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 150px;
  padding: 18px 20px; background: var(--surface); border: 2px solid var(--edge); border-radius: 14px 4px 14px 4px;
  background-image: radial-gradient(circle, var(--dot) 28%, transparent 30%); background-size: 10px 10px; background-position: top right;
  box-shadow: 0 0 0 var(--primary);
  transition: transform .3s cubic-bezier(.3, 1.5, .5, 1), box-shadow .3s cubic-bezier(.3, 1.5, .5, 1);
}
.tile:nth-child(2n) { box-shadow: 0 0 0 var(--accent); }
.tile:hover { transform: translate(-3px, -4px); box-shadow: 6px 7px 0 var(--primary); }
.tile:nth-child(2n):hover { box-shadow: 6px 7px 0 var(--accent); }
.tile h3 { margin: 0; font: 800 1.9rem/.95 "Saira XC", sans-serif; }
.tile p { margin: 0; color: var(--muted); font-size: .95rem; }
.tile .media { margin: -18px -20px 10px; border-bottom: 2px solid var(--edge); border-radius: 12px 2px 0 0; overflow: hidden; }
.editing .tile { position: relative; }
.editing .tile:hover { transform: none; }
