/* ---------- Tokens ---------- */
:root {
  --bg: #f4f2ee;
  --ink: #141414;
  --muted: #7a766f;
  --rule: #d9d5cd;
  --tint: #e7e3dc;     /* empty photo frames */
  --accent: #ba5679;   /* used sparingly: a pink mixed from cherry blossom, rose and peony (tried: matcha #6e8244; original brick red #b8432f) */
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 1200px;
  --title-size: clamp(2.8rem, 6vw, 5.4rem);   /* the big titles: Hello on the home page, and each page's name */
  --backdrop-h: clamp(320px, calc(300px + 7.4vw), 420px);   /* header painting height on every page (matches Writing's) */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }   /* a blown-up poster may spill into the margin without the page scrolling sideways */
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background .4s, color .4s;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--bg); }
em { font-style: italic; }

.label {
  font: 400 .72rem/1.4 var(--mono);
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); margin: 0;
}
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* Underline that draws in on hover */
.u {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .35s ease, color .3s;
}
.u:hover, .u.is-active { background-size: 100% 1px; }

/* ---------- Masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg); transition: background .4s;
}
.masthead .wrap { display: flex; align-items: center; gap: 1.5rem; padding-block: 1.1rem; }
.masthead__name { font: 500 .95rem var(--sans); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.masthead__rule { flex: 1; height: 1px; background: var(--ink); }
.masthead__nav { display: flex; gap: 1.6rem; font-size: .9rem; }
.masthead__nav a { color: var(--muted); }
.masthead__nav a:hover, .masthead__nav a.is-active { color: var(--ink); }
.pill {
  font: 400 .72rem var(--mono); text-transform: uppercase; letter-spacing: .08em;
  background: none; border: 1px solid var(--ink); color: var(--ink);
  border-radius: 999px; padding: .3rem .75rem; white-space: nowrap; transition: background .3s, color .3s;
}
.pill:hover { background: var(--ink); color: var(--bg); }

/* ---------- Photos ---------- */
.photo { margin: 0; }
.photo__frame {
  background: var(--tint); overflow: hidden;
  display: grid; place-items: center; aspect-ratio: 4 / 5;
}
.photo__frame img { width: 100%; height: 100%; object-fit: cover; }
.photo__empty { font: .72rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.photo figcaption { margin-top: .6rem; }

/* ---------- Home: hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center;   /* greeting centered against the photo */
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 6vw, 4.5rem);
}
.hello {
  font: 400 var(--title-size)/0.98 var(--serif);   /* same size as every page title; fits "Hello! I'm Sienna" on one line */
  white-space: nowrap;
  letter-spacing: -.02em; margin: 1.4rem 0 0;
}
.hello em { color: var(--accent); }
.hello .word {
  display: inline-block; opacity: 0; translate: 0 .35em;
  animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes rise { to { opacity: 1; translate: 0 0; } }
.hero__lede { font-size: 1.15rem; color: var(--muted); max-width: 40ch; margin: 1.8rem 0 0; }
.now { margin: 2.2rem 0 0; font-size: .92rem; display: flex; align-items: baseline; gap: .5rem; }
.now .label { margin-right: .3rem; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2.4s ease-in-out infinite; flex: none; translate: 0 -1px; }
@keyframes pulse { 50% { opacity: .3; } }
.headshot { justify-self: end; width: min(100%, 230px); margin-right: clamp(0px, 7vw, 6rem); }   /* kept small so the greeting leads; nudged in from the edge */
.headshot .photo__frame { position: relative; }   /* just the photo: no outline around it */

/* ---------- Home: about ---------- */
.block {
  display: grid; grid-template-columns: minmax(160px, 1fr) 3fr; gap: 2rem;
  padding-block: clamp(3.5rem, 8vw, 6rem);
  border-top: 1px solid var(--rule);
}
.block__head h2 { font: 400 clamp(2rem, 3.6vw, 2.8rem)/1 var(--serif); margin: .5rem 0 0; letter-spacing: -.01em; }
.block__head h2:first-child { margin-top: 0; }   /* no small label above it: line it up with the text beside it */
.about { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about--text { grid-template-columns: 1fr; }
.facts { list-style: none; margin: 0; padding: 0; max-width: 58ch; counter-reset: fact; border-top: 1px solid var(--rule); }
.facts li { counter-increment: fact; display: grid; grid-template-columns: 2.4rem 1fr; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--rule); font: 400 clamp(1.2rem, 2vw, 1.4rem)/1.3 var(--serif); }
.facts li::before { content: counter(fact, decimal-leading-zero); font: .7rem var(--mono); letter-spacing: .08em; color: var(--muted); }
/* the text block has one width, so the larger first line spans the same width as the paragraphs below it */
.prose { max-width: 58ch; font-size: 1.05rem; }
#about .prose { max-width: 80ch; }   /* home page About: runs further right, so there's less empty space beside it */
.prose p { margin: 0 0 1.15rem; }
.prose a.inline { border-bottom: 1px solid var(--accent); transition: color .3s; }
.prose a.inline:hover { color: var(--accent); }
.prose p:first-child {
  font: 400 clamp(1.5rem, 2.4vw, 2rem)/1.25 var(--serif);
  margin-bottom: 1.8rem;
}
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.collage .photo:nth-child(1) { grid-column: 1 / -1; }
.collage .photo:nth-child(1) .photo__frame { aspect-ratio: 3 / 2; }
.collage .photo:nth-child(3) { margin-top: 2.5rem; }

/* ---------- Home: section index ---------- */
.index { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.index li { border-bottom: 1px solid var(--rule); container-type: inline-size; }
.index__row {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, max-content) 1.5rem; gap: 1rem 2rem; align-items: baseline;
  padding: 1.35rem 0;
}
.index .num { font: .72rem var(--mono); color: var(--muted); }
.index .title { font: 400 clamp(1.9rem, 3.4vw, 2.7rem)/1.05 var(--serif); transition: translate .35s ease, color .3s; }
/* each description stays on one line; on narrow screens it shrinks a touch instead of wrapping */
.index .blurb { color: var(--muted); font-size: min(.95rem, 4.1cqi); white-space: nowrap; }
.index .arrow { text-align: right; transition: translate .35s, color .3s; }
.index__row:hover .title { translate: .5rem 0; color: var(--accent); }
.index__link::after { content: ""; position: absolute; inset: 0; }   /* the whole row opens the page */
.index__link:focus-visible { outline: none; } .index__link:focus-visible::after { outline: 1px solid var(--accent); outline-offset: 2px; }
.index__ext { position: relative; z-index: 1; color: var(--ink); border-bottom: 1px solid var(--accent); }   /* a link inside a blurb sits above the row's link */
.index__ext:hover { color: var(--accent); }
.index__row:hover .arrow { translate: .3rem 0; color: var(--accent); }

/* ---------- Section pages ---------- */
.page-head { padding-block: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 3.5rem); }
.page-head h1 { font: 400 var(--title-size)/0.95 var(--serif); letter-spacing: -.02em; margin: 1.2rem 0 0; }
.page-head .lede { font-size: 1.15rem; color: var(--muted); max-width: 50ch; margin: 1.5rem 0 0; text-wrap: pretty; }   /* lines run the full width; only a lone last word is avoided */
/* Animated image backdrop behind a page title (Writing) */
.page-head--backdrop { position: relative; isolation: isolate; padding-bottom: clamp(4rem, 10vw, 7rem); }
.backdrop {
  position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; translate: -50% 0;
  background: center / cover no-repeat; overflow: hidden;
}
.backdrop canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.backdrop { transition: opacity .7s ease; }
.backdrop.is-off { opacity: 0; }   /* Favorites: the other tabs' paintings, faded out */
.no-fade .backdrop { transition: none; }   /* Favorites, on arrival: the open tab's painting shows straight away */
.backdrop::after {               /* soft veil for legibility, fading into the page */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 55%, transparent) 0%, transparent 70%),
    linear-gradient(180deg, transparent 55%, var(--bg) 100%);
}
.page-head--backdrop .lede { color: var(--ink); }
/* a quiet text link under the intro (Experience → résumé), same style as the small "Read my articles" link */
.page-head__resume { position: relative; margin: 1.1rem 0 0; font: .72rem var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.page-head__resume a { color: var(--ink); }
.page-head__dl { width: 1.05em; height: 1.05em; margin-left: .45em; vertical-align: -.17em; }
.page-head__resume a:hover, .page-head__resume a:focus-visible { color: var(--accent); }
/* every header painting is the same height as Writing's (set by --backdrop-h); text that runs longer continues on the page below it */
.page-head--backdrop .backdrop, .hobby-head--backdrop .backdrop { bottom: auto; height: var(--backdrop-h); }
.backdrop--library::after, .backdrop--sky::after {   /* Books, Travels: a lighter veil, so the painting keeps its colour (just a soft patch behind the text) */
  background:
    radial-gradient(ellipse 40% 46% at 18% 50%, color-mix(in srgb, var(--bg) 50%, transparent) 0%, transparent 100%),
    linear-gradient(180deg, transparent 80%, var(--bg) 100%);
}
.backdrop--skyline::after {      /* lighter veil so the hillside and poppies stay visible */
  background:
    radial-gradient(ellipse 48% 42% at 22% 40%, color-mix(in srgb, var(--bg) 58%, transparent) 0%, transparent 100%),
    linear-gradient(180deg, transparent 84%, var(--bg) 100%);
}

.page-body { padding-bottom: clamp(3rem, 8vw, 6rem); }

/* Generic rows (work, writing) */
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem 2rem; margin-bottom: 1.4rem; }
.filters {                      /* always one line; swipes sideways if the screen is too narrow */
  display: flex; flex-wrap: nowrap; gap: 1.4rem; min-width: 0; max-width: 100%;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.filters::-webkit-scrollbar { display: none; }
.pages { display: flex; justify-content: center; align-items: center; gap: .4rem; margin-top: 2rem; }
.pages[hidden] { display: none; }
.pages button { min-width: 2.1rem; height: 2.1rem; padding: 0 .5rem; border: 1px solid var(--rule); border-radius: 99px; background: none; cursor: pointer;
  font: .74rem var(--mono); color: var(--muted); transition: color .2s ease, border-color .2s ease; }
.pages button:hover:not(:disabled) { color: var(--ink); border-color: var(--ink); }
.pages button.is-active { color: #fffdf8; background: var(--ink); border-color: var(--ink); }
.pages button:disabled { opacity: .35; cursor: default; }
.author-link { display: inline-flex; align-items: center; gap: .4rem; padding: .6rem 1.1rem; border: 1px solid var(--accent); border-radius: 99px;
  font: .74rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); background: none; transition: background .25s ease, color .25s ease; }
.author-link:hover, .author-link:focus-visible { background: var(--accent); color: #fffdf8; outline: none; }   /* stands out from the filters as a button */
.row .badge { display: block; font: .66rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: .35rem; }
.row .badge::before { content: "✦ "; }
.empty { color: var(--muted); font: italic 400 1.3rem var(--serif); padding: 1.5rem 0; margin: 0; border-bottom: 1px solid var(--rule); }
.filters button {
  all: unset; cursor: pointer; font: .72rem var(--mono); white-space: nowrap; flex: none;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .35s ease, color .3s;
}
.filters button.is-active, .filters button:hover { color: var(--ink); background-size: 100% 1px; }
.filters sup { font-size: .6rem; margin-left: .15rem; }
.rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.row { border-bottom: 1px solid var(--rule); }
.row.is-hidden { display: none; }
.row > * {
  display: grid; grid-template-columns: 6rem 1fr 12rem 1.5rem; gap: 1.2rem; align-items: baseline;
  padding: 1.5rem 0; transition: translate .35s ease;
}
.row:hover > * { translate: .6rem 0; }   /* a nudge that doesn't change the layout, so titles never rewrap */
.row .when { font: .72rem var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.row .title { font: 400 clamp(1.5rem, 2.6vw, 2.1rem)/1.15 var(--serif); transition: color .3s; }
.row .sub { display: block; font: italic 400 1.15rem/1.3 var(--serif); color: var(--muted); margin-top: .2rem; }
.group-label { margin: 4.5rem 0 1rem; }
.group-label--first { margin-top: 0; }
/* Education: coursework as a plain two-column list under a small label; favorites get a little heart */
.courses { display: block; margin-top: 1.2rem; max-width: 40rem; }
.courses__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: .45rem; margin-bottom: .55rem; border-bottom: 1px solid var(--rule); }
.courses__label { font: .66rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.courses__list { display: block; columns: 2; column-gap: 2rem; }
.course { display: block; break-inside: avoid; padding: .22rem 0; font: .92rem/1.45 var(--sans); color: var(--muted); }
.course__heart { margin-left: .35rem; font-size: .7rem; color: #d26a5c; }
.courses__key { font: 1.05rem "Gaegu", cursive; color: #a65c50; white-space: nowrap; }
.courses__key span { font-size: .75rem; }
@media (max-width: 560px) { .courses__list { columns: 1; } }
.rows--work .row > * { grid-template-columns: 9.5rem 1fr 8.6rem 1.5rem; }
/* work: company and role each stay on one line, shrinking with the column so the longest still fits */
.rows--work .row__main { container-type: inline-size; min-width: 0; }
.rows--work .title { display: block; white-space: nowrap; font-size: min(2.1rem, 5.6cqi); }
.rows--work .sub { white-space: nowrap; font-size: min(1.15rem, 4.05cqi); }
.row .desc { display: block; font: .95rem/1.55 var(--sans); color: var(--muted); margin-top: .4rem; max-width: 56ch; }
/* Writing: a slimmer date column and venue column, so titles and summaries get more room */
@media (min-width: 861px) { #writingList .row > * { grid-template-columns: 4.8rem minmax(0, 1fr) 9rem 1.5rem; } }   /* phones keep their stacked layout */
#writingList .desc { max-width: 72ch; }
/* a small extra link under a row's description (e.g. SCET → my articles), lined up with the text column */
.row > .row__after { padding: 0 0 1.5rem; margin-top: -.6rem; }
.row__more { grid-column: 2; font: .72rem var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.row__more a { color: var(--ink); }
.row__more a:hover, .row__more a:focus-visible { color: var(--accent); }
.row .meta { font: .72rem var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: right; }
.row .arrow { text-align: right; transition: translate .35s, color .35s; }
.row:hover .arrow { translate: .3rem 0; color: var(--accent); }
.row a:hover .title { color: var(--accent); }


/* Design — simple gallery for now */
.design-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 1.5rem; }
.design { margin: 0; }
.design .photo__frame { aspect-ratio: 4 / 5; }
.design figcaption { display: flex; flex-direction: column; gap: .25rem; margin-top: .7rem; }
.design figcaption b { font: 400 1.25rem/1.2 var(--serif); }

/* Favorites — scrapbook */
.scrapbook { --hand: "Caveat", cursive; }
/* tabs along the top, one per section: the open one dark and underlined, the rest muted */
.tabs { display: flex; gap: clamp(1.4rem, 4vw, 3rem); border-bottom: 1px solid var(--rule); margin-bottom: 2.5rem; overflow-x: auto; scrollbar-width: none; }
.tabs__tab { position: relative; padding: .2rem 0 .9rem; border: 0; background: none; cursor: pointer; white-space: nowrap;
  font: 400 clamp(1.5rem, 2.4vw, 1.9rem)/1 var(--serif); color: var(--muted); transition: color .2s ease; }
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { color: var(--ink); }
.tabs__tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.cluster__intro { text-wrap: pretty; max-width: 92ch; margin: -.5rem 0 2.2rem; color: var(--muted); font-size: 1.05rem; line-height: 1.55; }
.cluster__empty { font: .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tabs__tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.cluster { position: relative; padding-block: 0 3.5rem; }
/* Books — spines standing on a shelf, each styled after the real book */
.shelf { position: relative; padding-top: 5.5rem; }
.shelf__row { display: flex; align-items: flex-end; gap: 2px; height: 340px; padding: 0 1.2rem; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
/* center the stack on the shelf; auto margins (unlike justify-content) keep the first book reachable when the row scrolls */
.shelf__row > :first-child { margin-left: auto; }
.shelf__row > :last-child { margin-right: auto; }
.spine { position: relative; flex: none; width: var(--w); height: var(--h); padding: .9rem 0 .8rem; border: 0; border-radius: 3px 3px 2px 2px; cursor: default;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: .5rem; overflow: hidden;
  background: var(--bg); color: var(--ink); box-shadow: 3px 0 4px rgb(0 0 0 / .18), -1px 0 0 rgb(0 0 0 / .08);
  transform-origin: 50% 100%; transition: translate .3s ease, scale .3s ease, box-shadow .3s ease; }
/* 3D: the spine curves away at both edges (light from the upper left), with a lighter head and a shaded foot */
.spine::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background:
    linear-gradient(90deg, rgb(0 0 0 / .42), rgb(0 0 0 / .1) 7%, rgb(255 255 255 / .2) 18%, rgb(255 255 255 / .06) 32%, transparent 50%, rgb(0 0 0 / .08) 72%, rgb(0 0 0 / .22) 90%, rgb(0 0 0 / .45)),
    linear-gradient(rgb(255 255 255 / .18), transparent 4%, transparent 94%, rgb(0 0 0 / .18)); }
/* a shiny dust jacket catches a sharper highlight */
.spine--gloss::after { content: ""; position: absolute; top: 0; bottom: 0; left: 20%; width: 9%; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / .38), transparent); }
.spine:hover, .spine:focus-visible { translate: 0 -12px; scale: 1.07; z-index: 3; outline: none; box-shadow: 6px 12px 20px rgb(0 0 0 / .28); }
.spine > * { position: relative; z-index: 1; }
/* a real photo of the spine, at the book's thickness, with just a touch of the curve shading */
.spine--photo { padding: 0; background: #222; }
.spine--photo img { display: block; width: 100%; height: 100%; object-fit: cover; }   /* never stretched: the spine takes the photo's proportions */
.spine--photo::before { opacity: .45; }
.spine__title, .spine__by { writing-mode: vertical-rl; white-space: nowrap; }
.spine__title { flex: 1 1 auto; min-height: 0; max-width: 86%; overflow: hidden; line-height: 1.02; text-align: center; color: var(--ink); }
.spine__by { flex: none; color: var(--ai); }
.spine__decor { flex: none; width: 72%; height: auto; }
/* title lettering, one per book */
.t-sans { font: 400 calc(var(--w) * .34)/1 var(--sans); letter-spacing: .01em; }
.t-bold { font: 500 calc(var(--w) * .27)/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.t-serif { font: 400 calc(var(--w) * .42)/1 var(--serif); }
.t-play { font: 700 calc(var(--w) * .27)/1 "Playfair Display", serif; letter-spacing: .1em; text-transform: uppercase; }
.t-bebas { font: 400 calc(var(--w) * .58)/1 "Bebas Neue", sans-serif; letter-spacing: .04em; }
.t-oswald { font: 600 calc(var(--w) * .4)/1 "Oswald", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.t-cinzel { font: 700 calc(var(--w) * .25)/1 "Cinzel", serif; letter-spacing: .06em; text-shadow: 0 0 6px rgb(255 200 120 / .45); }
.t-bask { font: 400 calc(var(--w) * .26)/1 "Libre Baskerville", serif; letter-spacing: .02em; }
.t-caps { font: 400 calc(var(--w) * .24)/1 "Libre Baskerville", serif; letter-spacing: .16em; text-transform: uppercase; }
.t-hand { font: 600 calc(var(--w) * .46)/1 "Caveat", cursive; }
.t-mono { font: calc(var(--w) * .24)/1 var(--mono); letter-spacing: .08em; }
/* author lettering */
.a-sans { font: 400 .62rem var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.a-bold { font: 500 .62rem var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.a-mono { font: .55rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.a-play { font: 400 .66rem "Playfair Display", serif; letter-spacing: .14em; text-transform: uppercase; }
.a-bebas { font: .82rem "Bebas Neue", sans-serif; letter-spacing: .08em; }
.a-oswald { font: 400 .66rem "Oswald", sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.a-cinzel { font: 700 .58rem "Cinzel", serif; letter-spacing: .1em; }
.a-bask { font: italic .62rem "Libre Baskerville", serif; letter-spacing: .04em; }
.a-caps { font: .6rem "Libre Baskerville", serif; letter-spacing: .18em; text-transform: uppercase; }
/* Movies — posters stacked side by side, each turned 45° in perspective so every one shows;
   hovering one turns it to face you and blows it up */
.stack { position: relative; padding: 1rem 0 1rem; }
/* under the posters: a box for visitors to recommend a movie */
.recommend { margin: 3rem auto 0; max-width: 40rem; text-align: center; }
.recommend__head { margin: 0 0 1.1rem; font: 400 clamp(2.1rem, 3.6vw, 2.8rem)/1 var(--serif); }
.recommend__form { position: relative; text-align: left; }
.recommend__form textarea { display: block; width: 100%; height: 3.4rem; min-height: 3.4rem; padding: .95rem 3.2rem .95rem 1rem; resize: none; scrollbar-width: none;
  font: 1rem/1.5 var(--sans); color: var(--ink); background: #fdfcfa; border: 1px solid var(--rule); border-radius: 18px;
  transition: border-color .2s ease, box-shadow .2s ease; }
.recommend__form textarea::placeholder { color: #a9a49b; }
.recommend__form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 10%, transparent); }
.recommend__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
/* the paper airplane in the box's bottom-right corner; once sent it flies off up and to the right, then glides back in */
.recommend__send { position: absolute; right: .55rem; bottom: .5rem; display: grid; place-items: center; width: 2.3rem; height: 2.3rem;
  padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; color: var(--muted); transition: color .2s ease, background .2s ease; }
.recommend__send:hover, .recommend__send:focus-visible { color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); outline: none; }
.recommend__send:disabled { cursor: default; }
.recommend__send.is-flying svg { animation: plane-fly 1.5s ease-in-out; }
.recommend__send.is-flying { color: var(--accent); }
@keyframes plane-fly {
  0%   { translate: 0 0; rotate: 0deg; opacity: 1; }
  12%  { translate: -3px 3px; rotate: -6deg; }                     /* a little wind-up */
  45%  { translate: 46px -40px; rotate: 8deg; opacity: 0; }       /* off it goes */
  46%  { translate: -26px 22px; rotate: 0deg; opacity: 0; }       /* back around from the lower left */
  100% { translate: 0 0; rotate: 0deg; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .recommend__send.is-flying svg { animation: none; } }
.recommend__status { margin: .6rem 0 0; font-size: .92rem; color: var(--accent); text-align: center; }
.recommend__status:not(.is-error) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.stack__row, .stack__caption { position: relative; }
.stack__row { --pw: clamp(160px, 17vw, 220px); display: flex; justify-content: flex-start; align-items: center; height: calc(var(--pw) * 1.5 * 1.45 + 24px);   /* room for a blown-up poster */
  perspective: 1400px; padding: 0; }   /* spread edge to edge by script; blown-up posters may spill past the row */
.stack__poster { position: relative; flex: none; width: var(--pw); aspect-ratio: 2 / 3; padding: 0; border: 0; background: #ddd; cursor: pointer;
  margin-left: calc(var(--step, calc(var(--pw) * .48)) - var(--pw));   /* --step: how much of each poster shows (set to fit) */ transform: rotateY(45deg); transform-origin: 50% 50%;
  box-shadow: -10px 14px 24px rgb(0 0 0 / .22); transition: transform .45s ease, box-shadow .45s ease; }
.stack__poster:first-child { margin-left: 0; }
.stack__poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.stack__poster.is-up { z-index: 5; outline: none;
  transform: rotateY(0deg) scale(1.4) translateZ(40px);
  /* a soft glow of the poster's own colour, close around its edges */
  box-shadow: 0 0 18px 4px color-mix(in srgb, var(--glow, transparent) 70%, transparent), 0 20px 36px rgb(0 0 0 / .22); }
.stack__caption { display: grid; gap: .3rem; justify-items: center; min-height: 3.2rem; margin: .4rem 0 0; text-align: center;
  opacity: 0; translate: 0 6px; transition: opacity .25s ease, translate .25s ease; }
.stack__caption.is-on { opacity: 1; translate: 0 0; }
.stack__caption b { font: 400 1.5rem/1.15 var(--serif); }
.stack__caption span { font: .68rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Playlists: a stack of cassettes, angled like tapes lined up on a desk (back ones up and to the left, front ones
   down and to the right). Each tape is a thin 3D box, turned so its top and left sides show; the one under the
   pointer lifts out and turns to face you, with its one-liner underneath */
.tapes { --cw: clamp(200px, 25vw, 290px); --sx: calc(var(--cw) * .45); --sy: calc(var(--cw) * .16); }
.tapes__row { position: relative; width: calc(var(--cw) + (var(--n) - 1) * var(--sx)); max-width: 100%; margin: 0 auto;
  height: calc(var(--cw) * .625 + (var(--n) - 1) * var(--sy) + var(--cw) * .32); }
.tape { --d: calc(var(--cw) * .1);   /* shell thickness */
  --edge: rgb(232 232 227 / .92);
  position: absolute; left: calc(var(--i) * var(--sx)); top: calc(var(--cw) * .2 + var(--i) * var(--sy)); z-index: var(--i);
  display: block; width: var(--cw); aspect-ratio: 8 / 5; color: inherit; outline: none; transform-style: preserve-3d;
  /* an oblique view, like the reference photo: the left and right edges stay vertical, the top and bottom slope up
     to the right (the y of each point rises with its x), and the depth (z) shows as a shift up and to the left, so
     the top and left sides of the shell show as straight strips. matrix3d columns: where x, y and z end up on screen */
  transform: translateY(0) scale(1) matrix3d(1, -.175, 0, 0,  0, 1, 0, 0,  .4, .3, 1, 0,  0, 0, 0, 1); transform-origin: 50% 50%;
  transition: transform .5s cubic-bezier(.3, .7, .3, 1); }
.tape__box { position: absolute; inset: 0; transform-style: preserve-3d; }
.tape__face { position: absolute; inset: 0; transform: translateZ(calc(var(--d) / 2)); border-radius: 4%/6.4%; }
.tape__face > svg, .tape__face > img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* the inside of the shell, in layers between the back and the face, so no page shows through at the rounded corners */
.tape__fill { position: absolute; inset: 0; border-radius: 4%/6.4%; background: var(--edge); filter: brightness(.9);
  transform: translateZ(calc(var(--d) * var(--z))); }
/* the plastic sides: tinted, a little darker on the left (in shadow), lighter on top (catching the light) */
.tape__side { position: absolute; background: var(--edge); }
.tape__side--top, .tape__side--bottom { left: 0; width: 100%; height: var(--d); border-radius: calc(var(--d) / 2); }
.tape__side--left, .tape__side--right { top: 0; height: 100%; width: var(--d); border-radius: calc(var(--d) / 2); }
.tape__side--top { top: calc(var(--d) / -2); transform: rotateX(90deg); background: linear-gradient(color-mix(in srgb, var(--edge) 75%, #fff), var(--edge)); }
.tape__side--bottom { bottom: calc(var(--d) / -2); transform: rotateX(-90deg); filter: brightness(.8); }
.tape__side--left { left: calc(var(--d) / -2); transform: rotateY(-90deg); filter: brightness(.88);
  background: linear-gradient(90deg, var(--edge), color-mix(in srgb, var(--edge) 80%, #fff) 50%, var(--edge)); }
.tape__side--right { right: calc(var(--d) / -2); transform: rotateY(90deg); filter: brightness(.82); }
/* a soft shadow on the desk, under each tape */
.tape::after { content: ""; position: absolute; inset: 8% 4% -4% -6%; z-index: -1; border-radius: 10%; background: rgb(0 0 0 / .16);
  filter: blur(14px); transform: translateZ(calc(var(--d) / -2 - 2px)); transition: opacity .5s ease; }
.tape.is-up { z-index: 50; transform: translateY(-16%) scale(1.1) matrix3d(1, -.06, 0, 0,  0, 1, 0, 0,  .3, .22, 1, 0,  0, 0, 0, 1); }
.tape.is-up::after { opacity: .7; }
.tape__shell { fill: rgb(246 246 243 / .92); stroke: rgb(0 0 0 / .18); stroke-width: 1; }
.tape__name { font-family: var(--hand, "Gaegu", cursive); fill: #2b2a28; }
.tape__window { fill: #26262a; }
.tape__reel { fill: #f4f2ee; stroke: rgb(0 0 0 / .25); stroke-width: .8; }
.tape__hub { fill: #26262a; }
.tape__foot { fill: rgb(235 235 231 / .9); stroke: rgb(0 0 0 / .15); stroke-width: .8; }
.tape__screw { fill: #b9b9b4; }
.tapes__caption { display: grid; gap: .3rem; justify-items: center; min-height: 3.2rem; margin: .6rem 0 0; text-align: center;
  opacity: 0; translate: 0 6px; transition: opacity .25s ease, translate .25s ease; }
.tapes__caption.is-on { opacity: 1; translate: 0 0; }
.tapes__caption b { font: 400 1.5rem/1.15 var(--serif); }
.tapes__caption span { font-size: .95rem; color: var(--muted); }
@media (max-width: 520px) { .tapes { --cw: 58vw; } }
@media (prefers-reduced-motion: reduce) { .tape { transition: none; } }

/* Music — three parts, each with a small heading */
.music { display: grid; gap: 3.2rem; }
.music__part { min-width: 0; }   /* let the album strip scroll inside the column instead of widening the page */
.music__head { margin: 0 0 1.2rem; font: 400 clamp(1.5rem, 2.4vw, 1.9rem)/1 var(--serif); }
.music__note { margin: -.5rem 0 1.4rem; font-size: .95rem; color: var(--muted); max-width: 64ch; }   /* a one-liner under a heading */
/* soundtracks & instrumentals: closed by default; the heading is the button, with a caret beside it */
.music__more summary { display: flex; align-items: baseline; gap: .7rem; width: fit-content; margin-bottom: 0; cursor: pointer; list-style: none; }
.music__more summary::-webkit-details-marker { display: none; }
/* a small downward caret that flips up when open */
.music__more summary::after { content: ""; align-self: center; width: .45rem; height: .45rem; margin-left: .1rem;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); rotate: 45deg; translate: 0 -.15rem; transition: rotate .3s ease, translate .3s ease; }
.music__more[open] summary::after { rotate: 225deg; translate: 0 .1rem; }
.music__more summary:hover::after, .music__more summary:focus-visible::after { border-color: var(--accent); }
.music__more summary:hover, .music__more summary:focus-visible { color: var(--accent); outline: none; }
.music__more[open] summary { margin-bottom: 1.2rem; }
/* favorite albums: a grid of covers, each with a CD peeking just past its right edge; on hover the CD
   slides out a little further and turns, so the rainbow sheen moves across it */
.albums { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2.2rem 1.4rem; padding-top: .4rem; }
@media (max-width: 860px) { .albums { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .albums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.album { margin: 0; min-width: 0; }
.album__case { position: relative; width: 89%; aspect-ratio: 1; }
.album__cover { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover;
  box-shadow: 0 1px 2px rgb(0 0 0 / .12), 0 6px 16px rgb(0 0 0 / .14); }
/* a soft sheen across the cover, like light on a glossy sleeve */
.album__case::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(120deg, rgb(255 255 255 / .16), transparent 32%, transparent 70%, rgb(255 255 255 / .06)); }
.album__cd { position: absolute; z-index: 0; top: 3%; left: 16%; width: 94%; height: 94%; border-radius: 50%;
  background:
    linear-gradient(112deg, transparent 38%, rgb(255 255 255 / .5) 46%, rgb(255 255 255 / .1) 52%, transparent 58%),
    radial-gradient(circle, transparent 0 7%, rgb(255 255 255 / .95) 7% 7.8%, #d7dade 7.8% 14.5%, rgb(255 255 255 / .7) 14.5% 15.5%, rgb(196 201 208 / .9) 15.5% 17.5%, transparent 17.5% 48.6%, rgb(255 255 255 / .8) 48.6% 49.4%, rgb(170 176 184 / .6) 49.4%),
    repeating-radial-gradient(circle, rgb(255 255 255 / .07) 0 1px, transparent 1px 3px),
    conic-gradient(from 30deg, rgb(255 120 185 / .5), rgb(110 195 255 / .5), rgb(140 255 185 / .42), rgb(255 236 130 / .5), rgb(255 120 185 / .5), rgb(110 195 255 / .5), rgb(140 255 185 / .42), rgb(255 236 130 / .5), rgb(255 120 185 / .5)),
    conic-gradient(#f6f7f9, #b4b9c1 12%, #f8f9fb 25%, #a9aeb6 38%, #f6f7f9 50%, #b4b9c1 62%, #f8f9fb 75%, #a9aeb6 88%, #f6f7f9);
  -webkit-mask: radial-gradient(circle, transparent 0 6.4%, #000 6.6%); mask: radial-gradient(circle, transparent 0 6.4%, #000 6.6%);
  filter: drop-shadow(0 3px 6px rgb(0 0 0 / .22)); transition: translate .5s ease, rotate .9s ease; }
.album:hover .album__cd, .album:focus-visible .album__cd { translate: 8% 0; rotate: 70deg; }
.album { display: block; color: inherit; outline: none; }
.album__caption { display: block; padding-top: .7rem; width: 89%; }
a.album:hover .strip__title, a.album:focus-visible .strip__title { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }

/* Cafés — area buttons, then a grid of soft tiles: the café's name, and on hover (or a first tap on phones)
   my matcha there fades in over the tile */
/* Museums — a photo grid or a simple list (the reader picks); a photo opens a slideshow of that museum */
/* cafés: a small "Sort ⌄" button on the right above the list, opening a little menu */
.sort { position: relative; display: flex; justify-content: flex-end; margin-bottom: .8rem; }
.sort__toggle { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem 0; border: 0; background: none; cursor: pointer;
  font: .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sort__toggle::after { content: ""; width: .38rem; height: .38rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  rotate: 45deg; translate: 0 -.12rem; transition: rotate .25s ease, translate .25s ease; }
.sort__toggle[aria-expanded="true"]::after { rotate: 225deg; translate: 0 .08rem; }
.sort__toggle:hover, .sort__toggle:focus-visible, .sort__toggle[aria-expanded="true"] { color: var(--ink); outline: none; }
.sort__menu { position: absolute; top: 100%; right: 0; z-index: 10; display: grid; min-width: 11rem; margin-top: .3rem; padding: .35rem;
  background: #fdfcfa; border: 1px solid var(--rule); border-radius: 8px; box-shadow: 0 8px 24px rgb(0 0 0 / .1); }
.sort__menu[hidden] { display: none; }
.sort__menu button { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .7rem; border: 0; border-radius: 5px; background: none;
  cursor: pointer; text-align: left; font: .95rem var(--sans, inherit); color: var(--ink); }
.sort__menu button:hover, .sort__menu button:focus-visible { background: rgb(0 0 0 / .04); outline: none; }
.sort__menu button[aria-checked="true"]::after { content: "✓"; color: var(--accent); }
.museums__grid, .museums__list { list-style: none; margin: 0; padding: 0; }
.museums:not([data-view="gallery"]) .museums__grid, .museums:not([data-view="list"]) .museums__list { display: none; }
.museums__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.8rem 1.1rem; }   /* five in a row */
@media (max-width: 1000px) { .museums__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) { .museums__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 1rem; } }
/* a section shown as a small closed toggle (e.g. Pickleball's graphics): quieter than a full block.
   The one-liner sits under the title inside the clickable line, so it shows even when closed. */
.hobby-more { padding-block: 2.2rem 3rem; border-top: 1px solid var(--rule); }
.hobby-more .music__more summary { display: grid; grid-template-columns: max-content 1fr; align-items: center; column-gap: .7rem; }
.hobby-more .music__more summary::after { grid-row: 1; grid-column: 2; justify-self: start; }
.hobby-more__title { grid-row: 1; grid-column: 1; font-size: clamp(1.25rem, 2vw, 1.5rem); }
.hobby-more__sub { grid-row: 2; grid-column: 1 / -1; margin-top: .55rem; font: 400 .9rem/1.5 var(--sans, inherit); color: var(--muted); }
.hobby-more .music__more[open] summary { margin-bottom: 2rem; }

/* pickleball designs carousel: the current one big in the middle, its neighbours smaller and faded either
   side (cropped 4:5 like an Instagram grid; the full design shows in the slideshow) */
.deck { --w: min(15rem, 40vw); overflow-x: clip; }
.deck__stage { position: relative; height: calc(var(--w) * 1.25 + 2.6rem); }
.design-tile__post { font: 400 .72rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.design-tile__post:hover, .design-tile__post:focus-visible { color: var(--accent); }
.deck .design-tile { position: absolute; top: 0; left: 50%; width: var(--w); margin: 0 0 0 calc(var(--w) / -2);
  transform-origin: 50% calc(var(--w) * .625); transition: transform .55s cubic-bezier(.3, .7, .2, 1), opacity .55s ease; }
.deck .design-tile[data-pos="0"] { z-index: 2; }
.deck .design-tile[data-pos="-1"] { transform: translateX(calc(var(--w) * -.95)) scale(.6); opacity: .4; cursor: pointer; }
.deck .design-tile[data-pos="1"] { transform: translateX(calc(var(--w) * .95)) scale(.6); opacity: .4; cursor: pointer; }
.deck .design-tile[data-pos="-2"] { transform: translateX(calc(var(--w) * -1.4)) scale(.4); opacity: 0; }
.deck .design-tile[data-pos="2"] { transform: translateX(calc(var(--w) * 1.4)) scale(.4); opacity: 0; }
.deck .design-tile:not([data-pos="0"]) figcaption { opacity: 0; }
.deck .design-tile figcaption { text-align: center; transition: opacity .3s ease; }
.deck__nav { display: flex; align-items: center; justify-content: center; gap: 1.1rem; margin-top: .4rem; }
.deck__arrow { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; padding: 0 0 .15rem; border: 1px solid var(--rule); border-radius: 50%;
  background: transparent; color: inherit; font-size: 1.35rem; line-height: 1; cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.deck__arrow:hover, .deck__arrow:focus-visible { border-color: var(--accent); color: var(--accent); outline: none; }
.deck__count { min-width: 3.2rem; text-align: center; font: 400 .72rem/1 var(--mono, monospace); letter-spacing: .1em; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .deck .design-tile { transition: none; } }
.design-tile { margin: 0; min-width: 0; }
.design-tile__img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; overflow: hidden; cursor: zoom-in;
  background: var(--tint); box-shadow: 0 1px 2px rgb(0 0 0 / .1), 0 8px 20px rgb(0 0 0 / .1); }
.design-tile__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale .5s ease; }
.design-tile__img--contain img { object-fit: contain; }
.design-tile__img:hover img, .design-tile__img:focus-visible img { scale: 1.04; }
.design-tile__img:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.design-tile figcaption { padding-top: .7rem; }
.museum__photo { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--tint); cursor: zoom-in; overflow: hidden; aspect-ratio: 4 / 5; }
.museum__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: scale .5s ease; }
.museum__photo:hover img, .museum__photo:focus-visible img { scale: 1.04; }
.museum__photo:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.museum__name { display: block; margin-top: .7rem; font: 400 1.25rem/1.15 var(--serif); }
.museum__city { display: block; margin-top: .2rem; font: .64rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.museums__list { border-top: 1px solid var(--rule); }
.museum-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.5rem; align-items: baseline; padding: 1.05rem 0; border-bottom: 1px solid var(--rule); }
.museum-row__name { font: 400 clamp(1.35rem, 2.2vw, 1.7rem)/1.15 var(--serif); }
.museum-row__city { font: .64rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: right; white-space: nowrap; }
.cafes__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.cafe { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.5rem; align-items: baseline; padding: 1.05rem 0; border-bottom: 1px solid var(--rule); }
.cafe__name { grid-area: 1 / 1; font: 400 clamp(1.35rem, 2.2vw, 1.7rem)/1.15 var(--serif); }
.cafe__note { grid-area: 2 / 1 / auto / -1; margin-top: .2rem; font: italic 400 1.08rem/1.35 var(--serif); color: var(--muted); }
.cafe__where { grid-area: 1 / 2; font: .64rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: right; white-space: nowrap; }

/* Travels — a watercolor world map (teal-green land on a blue wash that fades into the page) with map pins.
   It runs wider than the text column, nearly edge to edge. */
.travel { display: grid; gap: 1.2rem; }
.travel > * { min-width: 0; }
/* above the map: the tally on the left, the "View ⌄" menu (Map / List) on the right */
.travel__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.travel__bar .sort { margin: 0; }
.travel__tally { margin: 0; font: .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.travel__tally span { white-space: nowrap; }   /* "3 continents" never splits across lines */
@media (max-width: 520px) { .travel__tally { font-size: .62rem; letter-spacing: .06em; } }
/* the list view: one row per place (name, where); each opens its postcard */
/* Books / Movies: the shelf or posters (the default), or a plain A-to-Z list, chosen with "View ⌄" */
.views[data-view="list"] > .views__main, .views:not([data-view="list"]) > .favlist { display: none; }
.favlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.favlist__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.5rem; align-items: baseline; padding: 1.05rem 0; border-bottom: 1px solid var(--rule); }
.favlist__title { font: 400 clamp(1.35rem, 2.2vw, 1.7rem)/1.15 var(--serif); }
.favlist__by { font: .64rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: right; }
@media (max-width: 520px) { .favlist__row { grid-template-columns: 1fr; row-gap: .35rem; } .favlist__by { text-align: left; } }
.travel__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.travel[data-view="map"] .travel__list { display: none; }
.trip { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.5rem; align-items: baseline; width: 100%; padding: 1.05rem 0;
  border: 0; border-bottom: 1px solid var(--rule); background: none; color: inherit; text-align: left; cursor: pointer; }
.trip__name { grid-area: 1 / 1; font: 400 clamp(1.35rem, 2.2vw, 1.7rem)/1.15 var(--serif); transition: color .2s ease; }
.trip__where { grid-area: 1 / 2; font: .64rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: right; white-space: nowrap; }
.trip:hover .trip__name, .trip:focus-visible .trip__name { color: var(--accent); }
.trip:focus-visible { outline: none; }
/* in the list view the map folds away, but its postcard still opens, over the page */
.travel[data-view="list"] .atlas { aspect-ratio: auto; height: 0; overflow: visible; }
.travel[data-view="list"] :is(.atlas__sea, .atlas__map, .atlas__pins, .atlas__back), .travel[data-view="list"] .atlas::before { display: none; }
.travel[data-view="list"] :is(.atlas__veil, .postcard) { position: fixed; z-index: 40; }
.atlas { --w: min(calc(100vw - 2rem), 1440px); position: relative; width: var(--w); margin-inline: calc((100% - var(--w)) / 2);
  aspect-ratio: 368 / 195; overflow: hidden; outline: none; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.atlas.is-zoomed { touch-action: none; cursor: grab; }   /* zoomed in: one finger or the mouse pans the map */
.atlas.is-dragging { cursor: grabbing; }
/* the sea: washes of blue, deeper in patches, melting into the page at the edges */
.atlas__sea, .atlas__map, .atlas__pins { position: absolute; inset: 0; }
.atlas__sea { background:
    radial-gradient(ellipse 22% 30% at 16% 64%, rgb(110 176 224 / .55), transparent 70%),
    radial-gradient(ellipse 16% 22% at 36% 40%, rgb(124 186 228 / .45), transparent 70%),
    radial-gradient(ellipse 20% 30% at 50% 66%, rgb(112 178 226 / .5), transparent 70%),
    radial-gradient(ellipse 18% 26% at 71% 72%, rgb(118 182 228 / .5), transparent 70%),
    radial-gradient(ellipse 22% 30% at 88% 46%, rgb(110 176 224 / .5), transparent 70%),
    radial-gradient(ellipse 70% 72% at 50% 50%, #a3cfee, #c3e0f4 68%, transparent 100%); filter: blur(8px); }
/* watercolour paper over everything, then the fade into the page */
.atlas::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: url("images/travels/map/paper.png") 0 0 / 384px; mix-blend-mode: multiply; opacity: .32; }
/* the sea, land and paper fade to nothing at the edges, so the map melts into the page (the pins stay crisp) */
.atlas__sea, .atlas__map, .atlas::before {
  -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-composite: source-in; mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(transparent, #000 12%, #000 88%, transparent);
  mask-composite: intersect; }
.atlas__map svg { display: block; width: 100%; height: 100%; }
.atlas__map { pointer-events: none; user-select: none; }
.atlas__pins { z-index: 3; }
/* map pins: a soft red bead on a slim pin, its point exactly on the place */
.pin { position: absolute; z-index: 1; width: 12px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer;
  transform: translate(-50%, -100%); transform-origin: 50% 100%; transition: opacity .3s ease, scale .25s ease; }
.pin::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 2px; height: 13px; translate: -50% 0;
  clip-path: polygon(0 0, 100% 0, 58% 100%, 42% 100%);   /* tapers to a point */
  background: linear-gradient(90deg, #a3a6ab, #d5d7da 50%, #a3a6ab); }
/* its shadow, cast down and to the right */
.pin::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 12px; height: 3px; border-radius: 50%; translate: 1px 0; rotate: -18deg;
  transform-origin: 0 50%; background: rgb(20 50 60 / .16); filter: blur(1.2px); z-index: -1; }
.pin__head { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #f6a99d 0 16%, #e0574a 46%, #d04a3e 100%);   /* gently rounded, not glossy */
  box-shadow: 0 1px 1.5px rgb(60 20 10 / .2);
  font: 600 .56rem/1 var(--sans); color: #fff; text-shadow: 0 1px 1px rgb(0 0 0 / .35); }
.pin--cluster { width: 18px; height: 31px; }
.pin--cluster .pin__head { width: 18px; height: 18px; }
.pin.is-hidden { opacity: 0; pointer-events: none; }
.pin__label { position: absolute; left: 50%; bottom: calc(100% + 6px); translate: -50% 4px; padding: .2rem .55rem; border-radius: 99px; white-space: nowrap;
  font: 400 .95rem/1.2 var(--serif); color: var(--ink); background: #fffdf8; box-shadow: 0 2px 8px rgb(0 0 0 / .12);
  opacity: 0; pointer-events: none; transition: opacity .2s ease, translate .2s ease; }
.pin:hover, .pin:focus-visible { z-index: 4; outline: none; scale: 1.18; }
.pin:hover .pin__label, .pin:focus-visible .pin__label { opacity: 1; translate: -50% 0; }
.atlas__back { position: absolute; left: 2.2rem; top: 1.8rem; z-index: 5; padding: .35rem .8rem; border: 1px solid var(--rule); border-radius: 99px; cursor: pointer;
  background: #fffdf8; font: .72rem var(--mono); letter-spacing: .06em; color: var(--ink); }
.atlas__back:hover { border-color: var(--ink); }

/* a place's postcard, laid over the map: a photo on the left, the back of the card on the right */
.atlas__veil { position: absolute; inset: 0; z-index: 6; background: rgb(244 242 238 / .35); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .3s ease; }
/* it grows out of the pin that was clicked (--dx/--dy: the pin's offset from the middle of the map) */
.postcard { --pc: min(920px, 94%); position: absolute; left: 50%; top: 50%; z-index: 7; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr);
  width: var(--pc); aspect-ratio: 3 / 2; max-height: 94%; font-size: clamp(14px, 1.25vw, 18px);
  background: #fffdf8; box-shadow: 0 3px 6px rgb(0 0 0 / .08), 0 26px 60px rgb(40 50 60 / .26);
  translate: calc(-50% + var(--dx, 0px)) calc(-50% + var(--dy, 0px)); scale: .06; rotate: 0deg; opacity: 0;
  transition: opacity .25s ease, translate .5s cubic-bezier(.2, .8, .2, 1), scale .5s cubic-bezier(.2, .8, .2, 1), rotate .5s ease; }
.is-reading .atlas__veil { opacity: 1; }
.is-reading .postcard { opacity: 1; translate: -50% -50%; scale: 1; rotate: var(--tilt, -1deg); }
.postcard__photo { position: relative; margin: 1em 0 1em 1em; overflow: hidden; background: linear-gradient(135deg, #cfe4ef, #e8dfcf 60%, #f1d9d2); }
/* the photos sit side by side in a strip that slides along one photo at a time */
.postcard__slides { display: flex; height: 100%; transition: translate .45s cubic-bezier(.4, 0, .2, 1); }
.postcard__slide { position: relative; flex: 0 0 100%; margin: 0; height: 100%; }
.postcard__slide img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; }
.postcard__slide .postcard__empty { position: absolute; inset: 0; }
.postcard__arrow { position: absolute; top: 50%; z-index: 2; translate: 0 -50%; width: 2.4em; height: 2.4em; border: 0; border-radius: 50%; cursor: pointer;
  display: none; place-items: center; background: rgb(255 253 248 / .88); box-shadow: 0 2px 8px rgb(0 0 0 / .18); font: 1.5em/1 var(--serif); color: var(--ink);
  transition: background .2s ease, scale .2s ease; }
.postcard__arrow:hover { background: #fffdf8; scale: 1.08; }
.postcard__arrow--prev { left: .8em; } .postcard__arrow--next { right: .8em; }
.postcard__count { position: absolute; left: 50%; bottom: .8em; z-index: 2; translate: -50% 0; display: none; padding: .25em .7em; border-radius: 99px;
  background: rgb(255 253 248 / .85); font: .7em var(--mono); letter-spacing: .08em; color: var(--ink); }
.postcard.has-many .postcard__arrow { display: grid; }
.postcard.has-many .postcard__count { display: block; }
.postcard__empty { display: grid; place-items: center; height: 100%; font: .75em var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgb(60 70 80 / .45); }
.postcard__back { position: relative; display: flex; flex-direction: column; min-height: 0; padding: 1.8em 1.8em 1.5em 2.1em; }
.postcard__back::before { content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; width: 1px; background: #e2d9cb; }
/* the place name stays on one line, clear of the stamp and postmark; long names are shrunk to fit (script.js) */
.postcard__place { margin: 0; padding-right: calc(6.6em / 2.6); font: 400 2.6em/1.05 var(--serif); white-space: nowrap; }
.postcard__region { margin: .5em 0 0; padding-right: 6.5em; line-height: 1.5; font: .72em var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
/* the highlights, handwritten on ruled lines that run on to the bottom of the card */
/* (a long list of highlights is written a little smaller so it all fits on the card: script.js) */
.postcard__notes { flex: 1; min-height: 0; margin: 1em 0 0; padding: 0 0 0 1.3em; font: 1.38em/1.95em "Gaegu", cursive; color: #3f4a52; overflow: hidden;
  background: repeating-linear-gradient(transparent 0 calc(1.95em - 1.5px), #e6ddcf calc(1.95em - 1.5px) 1.95em); }
.postcard__notes li::marker { color: #d04a3e; }
.postcard.is-sample .postcard__notes { color: #a39c92; }   /* placeholder lines until the real highlights are in */
.postcard__stamp { position: absolute; top: 1.2em; right: 1.2em; width: 3.4em; height: 4.1em; background: linear-gradient(160deg, #9fcde0, #73b6a6);
  -webkit-mask: radial-gradient(circle at 3px 3px, transparent 1.7px, #000 1.9px) -3px -3px / 6px 6px; mask: radial-gradient(circle at 3px 3px, transparent 1.7px, #000 1.9px) -3px -3px / 6px 6px;
  box-shadow: inset 0 0 0 3px #fffdf8; }
.postcard__postmark { position: absolute; top: 2em; right: 3.4em; width: 4.6em; height: 4.6em; border: 1.5px solid rgb(70 80 90 / .35); border-radius: 50%; rotate: -14deg;
  display: grid; place-items: center; padding: .5em; overflow: hidden; text-align: center; font: .5em/1.1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgb(70 80 90 / .5); }
.postcard__close { position: absolute; right: -14px; top: -14px; z-index: 1; width: 34px; height: 34px; border: 0; border-radius: 50%; cursor: pointer;
  background: #fffdf8; box-shadow: 0 2px 6px rgb(0 0 0 / .18); font: 1.1rem/1 var(--sans); color: var(--ink); }
.postcard__close:hover { background: var(--ink); color: #fffdf8; }

/* a wooden shelf: the lit top face, then the front edge with a little grain */
.shelf__plank { height: 20px; margin: -2px .2rem 0; border-radius: 2px;
  background:
    linear-gradient(#d9ae7c, #c99a66 30%, transparent 30%),
    repeating-linear-gradient(90deg, rgb(70 40 15 / .08) 0 2px, transparent 2px 9px, rgb(70 40 15 / .05) 9px 10px, transparent 10px 23px),
    linear-gradient(#a7713f, #8a5a30);
  box-shadow: 0 14px 22px -10px rgb(60 35 15 / .45), inset 0 -2px 0 rgb(0 0 0 / .15); }
.shelf__card { position: absolute; z-index: 5; width: max-content; max-width: 260px; padding: .8rem 1rem .75rem; background: #fdfcfa; box-shadow: 0 8px 24px rgb(0 0 0 / .12);
  display: grid; gap: .25rem; opacity: 0; translate: 0 6px; pointer-events: none; transition: opacity .2s ease, translate .2s ease; }
.shelf__card.is-on { opacity: 1; translate: 0 0; }
.shelf__card b { font: 400 1.25rem/1.15 var(--serif); }
.shelf__by { font: .68rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.shelf__year { font: .72rem var(--mono); color: var(--muted); }
.board { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 2.5rem 3rem; padding: .5rem .5rem 1rem; }
.scrap {
  position: relative; display: block; rotate: var(--tilt); translate: 0 var(--dy);
  transition: rotate .35s ease, scale .35s ease, filter .35s ease;
  filter: drop-shadow(2px 4px 6px rgb(0 0 0 / .12));
}
.scrap.reveal { opacity: 0; translate: 0 calc(var(--dy) + 18px); }
.scrap.reveal.is-visible { opacity: 1; translate: 0 var(--dy); }
.scrap:hover { rotate: 0deg; scale: 1.04; z-index: 2; filter: drop-shadow(4px 10px 14px rgb(0 0 0 / .18)); }
/* washi tape */
.scrap::before {
  content: ""; position: absolute; z-index: 3; top: -12px; left: 50%; width: 74px; height: 22px;
  translate: -50% 0; rotate: calc(var(--tilt) * -1.6 + 3deg);
  background: color-mix(in srgb, var(--accent) 22%, #f3e7cf 70%); opacity: .85;
  clip-path: polygon(3% 0, 97% 4%, 100% 50%, 96% 100%, 2% 96%, 0 50%);
}
.scrap:nth-child(3n+2)::before { background: color-mix(in srgb, #8a9a5b 30%, #f3e7cf 70%); }
.scrap:nth-child(3n)::before { background: color-mix(in srgb, #c99a3c 30%, #f6ecd6 70%); }
.scrap--movie::before { left: 12%; }
.scrawl {
  font: 500 1.35rem/1.15 var(--hand); color: var(--accent); margin: .7rem 0 0; max-width: 13rem;
  rotate: calc(var(--tilt) * -1.2 - 2deg);
}
.scrawl::before { content: "↳ "; }
.caption { margin: .55rem 0 0; font-size: .82rem; color: var(--muted); max-width: 11rem; }
.caption b { font: 400 1.05rem var(--serif); color: var(--ink); }

/* book cover */
.book {
  width: 140px; aspect-ratio: 2 / 3; background: var(--c); color: #fbf7ef; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; padding: 1rem .85rem .9rem 1.15rem;
  border-radius: 2px 4px 4px 2px;
  box-shadow: inset 6px 0 0 rgb(0 0 0 / .18), inset 8px 0 0 rgb(255 255 255 / .08);
}
.book b { font: 400 1.35rem/1.1 var(--serif); }
.book span { font: .62rem var(--mono); text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
.book img { margin: -1rem -.85rem -.9rem -1.15rem; width: calc(100% + 2rem); height: calc(100% + 1.9rem); max-width: none; object-fit: cover; }
/* newspaper clipping */
.clipping {
  width: 210px; background: #fbf8f1; color: #1d1b18; padding: 1rem 1rem 1.6rem;
  clip-path: polygon(0 0, 100% 0, 100% 93%, 92% 97%, 84% 93%, 75% 98%, 66% 94%, 57% 99%, 48% 94%, 38% 98%, 29% 93%, 19% 97%, 10% 93%, 0 97%);
}
.clipping__src { display: block; font: .6rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: #8a8378; border-bottom: 1px solid #d6cfc2; padding-bottom: .45rem; margin-bottom: .6rem; }
.clipping b { display: block; font: 400 1.3rem/1.15 var(--serif); margin-bottom: .7rem; }
.clipping i { display: block; height: 5px; background: #e4ddd0; margin-top: 6px; }
.clipping i:nth-child(4) { width: 82%; } .clipping i:last-child { width: 58%; }
/* movie ticket */
.ticket {
  display: flex; width: 250px; min-height: 104px; background: color-mix(in srgb, var(--c) 14%, #f8f1e4); color: #1d1b18;
  -webkit-mask: radial-gradient(circle 9px at 62px 0, #0000 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle 9px at 62px 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle 9px at 62px 0, #0000 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle 9px at 62px 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.ticket__stub { width: 62px; flex: none; background: var(--c); color: #fbf7ef; display: grid; place-items: center; border-right: 2px dashed rgb(255 255 255 / .55); }
.ticket__stub span { writing-mode: vertical-rl; rotate: 180deg; font: .6rem var(--mono); text-transform: uppercase; letter-spacing: .2em; }
.ticket__main { padding: .85rem 1rem; display: flex; flex-direction: column; gap: .2rem; }
.ticket__main b { font: 400 1.35rem/1.1 var(--serif); }
.ticket__main span { font-size: .82rem; color: #6b645a; }
.ticket__year { font: .6rem var(--mono) !important; letter-spacing: .14em; color: var(--c) !important; }
/* record sleeve + vinyl */
.record { position: relative; width: 190px; height: 150px; }
.record__disc {
  position: absolute; top: 6px; left: 46px; width: 138px; height: 138px; border-radius: 50%;
  background: radial-gradient(circle, var(--c) 0 17%, #111 18% 20%, transparent 21%),
              repeating-radial-gradient(circle, #1b1b1b 0 2px, #262626 2px 3px);
  transition: translate .5s ease, rotate 1.2s ease;
}
.scrap:hover .record__disc { translate: 18px 0; rotate: 120deg; }
.record__sleeve {
  position: absolute; inset: 0 auto 0 0; width: 150px; background: var(--c); color: #fbf7ef; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: .9rem; gap: .2rem;
  background-image: linear-gradient(135deg, rgb(255 255 255 / .12), transparent 60%);
}
.record__sleeve b { font: 400 1.3rem/1.1 var(--serif); }
.record__sleeve span { font: .6rem var(--mono); text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
.record__sleeve img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.record--single { width: 160px; height: 120px; }
.record--single .record__sleeve { width: 120px; }
.record--single .record__disc { width: 108px; height: 108px; left: 40px; }

/* Hobbies — the doljabi (돌잡이) objects, floating free: click one to open that hobby */
/* the doljabi: the photo on the left, the objects in an arc around its right side (positions are each object's center) */
.drift { position: relative; aspect-ratio: 1000 / 896; max-width: 1100px; margin: 0 auto 1rem; }
.drift__obj { position: absolute; left: var(--x); top: var(--y); width: var(--w); translate: -50% -50%; rotate: var(--r); outline: none; z-index: 2; }
.drift__float { display: block; position: relative; transition: scale .4s cubic-bezier(.3, .7, .3, 1.2), translate .4s ease, filter .4s ease;
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--glow, #f2c335) 0%, transparent)) drop-shadow(0 0 20px color-mix(in srgb, var(--glow, #f2c335) 0%, transparent)); }
.drift__float img { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 12px rgb(60 40 20 / .14)); }
/* hover: it grows and glows in its own color (a soft halo hugging its shape), so it's clear it can be clicked */
.drift__obj:hover, .drift__obj:focus-visible { z-index: 4; }
.drift__obj:hover .drift__float, .drift__obj:focus-visible .drift__float { scale: 1.2; translate: 0 -4px;
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--glow, #f2c335) 90%, transparent)) drop-shadow(0 0 20px color-mix(in srgb, var(--glow, #f2c335) 80%, transparent)); }
.drift__label { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; rotate: calc(var(--r) * -1); }   /* level, even if the object is tilted */
.drift__label text { font: 11px var(--mono); letter-spacing: .22em; text-transform: uppercase; fill: var(--muted); transition: fill .3s ease; }
.drift__obj:hover .drift__label text, .drift__obj:focus-visible .drift__label text { fill: var(--ink); }
/* a star by an object with a story (the pen): hovering the object shows a little handwritten note to its left */
.drift__star { position: absolute; left: 22%; top: 18%; translate: -50% -50%; rotate: calc(var(--r) * -1); pointer-events: none;
  font-size: 1.35rem; line-height: 1; color: #f2c335; text-shadow: 0 0 6px rgb(242 195 53 / .55), 0 0 14px rgb(255 232 160 / .7);
  transition: scale .35s ease, text-shadow .35s ease; }
.drift__obj:hover .drift__star, .drift__obj:focus-visible .drift__star { scale: 1.15; text-shadow: 0 0 8px rgb(242 195 53 / .75), 0 0 18px rgb(255 232 160 / .9); }
.drift__note { position: absolute; right: 100%; top: 50%; rotate: calc(var(--r) * -1); width: max-content; max-width: 13rem;
  padding: .45rem .7rem .5rem; background: #fdfbf6; border-radius: 6px; pointer-events: none;
  font: 400 1rem/1.25 "Gaegu", cursive; color: var(--ink); box-shadow: 0 2px 4px rgb(0 0 0 / .06), 0 10px 22px rgb(0 0 0 / .1);
  opacity: 0; translate: -.6rem -50%; transition: opacity .35s ease, translate .35s ease; }   /* opens to the left, where there's room */
.drift__obj:hover .drift__note, .drift__obj:focus-visible .drift__note { opacity: 1; translate: -.9rem -50%; }
.drift .dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }   /* above the hovered object (4), so its sparkles show on it */
/* the baby photo sits in the middle of the ring of objects */
/* a soft wash of color from the photo to each object: hidden until that object is hovered, then it slowly blooms in */
.drift__paths { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.drift__path path { fill: none; stroke-linecap: round; stroke-width: 180; opacity: 0; transition: opacity .6s ease; }
.drift__path.is-lit path { opacity: .55; transition: opacity .8s ease; }
.drift__centre { position: absolute; left: 30%; top: 50%; width: clamp(180px, 26%, 290px); translate: -50% -50%; margin: 0; z-index: 1; }
.drift__centre .polaroid { width: 100%; margin: 0; }
.drift__caption { width: 170%; margin: 1.8rem 0 0 -35%; font: 400 1.2rem/1.3 var(--hand); color: var(--ink); text-align: center; text-wrap: balance; }   /* the line about the doljabi under the photo: a bit wider than the photo, centered on it (about three lines) */
/* the doljabi photo: only a slight lift on hover, and its full caption always shows (wrapping onto a second line) */
.drift__centre .polaroid:hover, .drift__centre .polaroid:focus-visible { scale: 1.05; }
.drift__centre .polaroid figcaption { height: auto; padding-bottom: .55rem; }
.drift__centre .polaroid__cap, .drift__centre .polaroid:hover .polaroid__cap, .drift__centre .polaroid:focus-visible .polaroid__cap { position: static; padding: 0; white-space: normal; overflow: visible; box-shadow: none; background: none; }
/* Hobbies title: a saekdong band (the rainbow stripes of a dol hanbok sleeve) runs from it to the
   edge of the screen, painted in watercolour, with a knot tassel hanging from it */
.hobbies-title { display: flex; align-items: center; }
.saekdong { position: relative; flex: 1; height: 32px; margin: .12em calc((100% - 100vw) / 2) 0 .35em; }
/* the rainbow band itself is hidden (Nov 12, 2026): only the knot charm shows. To bring it back, delete "display: none;" */
.saekdong::before { display: none; content: ""; position: absolute; inset: 0; opacity: .95; filter: url(#paint);
  background: repeating-linear-gradient(90deg, #d9655f 0 18px, #f0c564 18px 36px, #7fae7a 36px 54px, #6f97c9 54px 72px, #e79ab0 72px 90px, #5d6c9c 90px 108px, #a58bc6 108px 126px);
  -webkit-mask: linear-gradient(90deg, transparent, #000 40px); mask: linear-gradient(90deg, transparent, #000 40px); }
.charm { position: absolute; right: 12%; top: 40%; width: 86px; height: auto; filter: drop-shadow(0 6px 8px rgb(60 30 20 / .15)); }
/* "What's a doljanchi?" toggle under the Hobbies intro */
.about-toggle { max-width: none; margin: 1.2rem 0 0; }   /* the doljabi explanation runs the full width of the page */
.about-toggle summary { cursor: pointer; list-style: none; font: .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.about-toggle summary::-webkit-details-marker { display: none; }
.about-toggle summary::after { content: " +"; }
.about-toggle[open] summary::after { content: " –"; }
.about-toggle p { color: var(--muted); margin: .8rem 0 0; }

/* Hobby sub-page */
.hobby-head { padding-block: clamp(3rem, 8vw, 6rem) clamp(1rem, 3vw, 2rem); }
.hobby-head__grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; margin-top: 1.2rem; }
.hobby-head h1 { font: 400 var(--title-size)/0.95 var(--serif); letter-spacing: -.02em; margin: .4rem 0 0; }
.hobby-head .lede { font-size: 1.15rem; color: var(--muted); max-width: 50ch;   /* same width as the main pages' blurbs */ margin: 1.5rem 0 0; text-wrap: pretty; }   /* lines run the full width; only a lone last word is avoided */
.hobby-links { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; margin-top: 1.6rem; }
.hobby-link { display: inline-flex; align-items: center; gap: .5rem; }
.hobby-link__image { display: block; margin-top: .2rem; }
.hobby-link__image img { display: block; width: 4.5rem; height: 4.5rem; border-radius: 50%; box-shadow: 0 6px 16px -8px rgb(0 0 0 / .35); transition: scale .3s ease; }
.hobby-link__image:hover img { scale: 1.05; }
.hobby-links-note { margin-top: 1.6rem; color: var(--muted); }
.hobby-links-note + .hobby-links { margin-top: .8rem; }
.hobby-head__art { width: clamp(130px, 18vw, 220px); rotate: -6deg; }
.hobby-head__art svg { width: 100%; height: auto; display: block; }
.hobby-head__body { font-size: 1.05rem; max-width: 52ch; margin: 1rem 0 0; }
.hobby-head__icon { width: 64px; rotate: -6deg; margin-bottom: .4rem; }
.hobby-head__icon svg { width: 100%; height: auto; display: block; }
/* a hobby with its own painting: a band behind the title that fades into the page before the text */
.hobby-head--backdrop { position: relative; isolation: isolate; padding-top: clamp(3rem, 8vw, 6rem); }   /* title sits where it does on Writing */
.hobby-head--backdrop .backdrop::after {
  background:
    radial-gradient(ellipse 34% 30% at 20% 70%, color-mix(in srgb, var(--bg) 62%, transparent) 0%, transparent 100%),
    linear-gradient(180deg, transparent 50%, var(--bg) 100%);
}
/* the piano painting: same gentle fade into the page as the others */
.hobby-head--piano .backdrop::after {
  background:
    radial-gradient(ellipse 34% 30% at 20% 70%, color-mix(in srgb, var(--bg) 62%, transparent) 0%, transparent 100%),
    linear-gradient(180deg, transparent 50%, var(--bg) 100%);
}
.hobby-head--backdrop .lede, .hobby-head--backdrop > .label { color: var(--ink); }
.hobby-head--photos .hobby-head__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; gap: clamp(2rem, 5vw, 4rem); }

/* Polaroid cluster with hover captions */
.polaroids { display: flex; flex-direction: column; align-items: flex-start; --hand: "Gaegu", cursive; }
.polaroid {
  position: relative; width: 52%; margin: 0 0 0 var(--l);
  background: #fdfbf6; padding: .6rem .6rem 0; rotate: var(--r); cursor: default;
  box-shadow: 0 2px 4px rgb(0 0 0 / .08), 0 10px 22px rgb(0 0 0 / .12);
  transition: rotate .35s ease, scale .35s ease, box-shadow .35s ease;
}
.polaroid + .polaroid { margin-top: calc(-40% + var(--dy, 0%)); }   /* overlap the one above */
.polaroid__img { aspect-ratio: 4 / 5; background: var(--tint); overflow: hidden; display: grid; place-items: center; }
.polaroid__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.polaroid figcaption { position: relative; box-sizing: border-box; height: 1.45rem; padding: .27rem .15rem 0; font: 400 .8rem/1.2 var(--hand); color: var(--ink); }
.polaroid:hover, .polaroid:focus-visible { rotate: 0deg; scale: 1.35; z-index: 10; outline: none;
  box-shadow: 0 4px 8px rgb(0 0 0 / .1), 0 22px 40px rgb(0 0 0 / .18); }
/* one-line preview (date + start of the caption); the full caption hangs below the frame on hover,
   so the photos underneath don't shift */
.polaroid__cap { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.polaroid__date { font-size: .72rem; color: var(--muted); margin-right: .2rem; }
.polaroid:hover .polaroid__cap, .polaroid:focus-visible .polaroid__cap {
  position: absolute; top: .27rem; left: -.75rem; right: -.75rem; padding: 0 .9rem .6rem; white-space: normal;
  background: #fdfbf6; box-shadow: 0 18px 22px -12px rgb(0 0 0 / .2); }
.polaroid:hover .polaroid__date, .polaroid:focus-visible .polaroid__date { display: block; }
/* a single polaroid (e.g. Piano) fills more of its column, sits toward the right, and only grows a little on hover */
@media (min-width: 701px) { .polaroid:only-child { width: 78%; margin-left: auto; margin-right: 2%; } }
.polaroid:only-child:hover, .polaroid:only-child:focus-visible { scale: 1.06; }
/* hobby pages: a little more room between the window's edge and the text */
body[data-page="hobby"] main { --gutter: clamp(1.5rem, 7vw, 5rem); }

/* Strip on hobby pages: one row of artwork that scrolls sideways (fades at the edge to hint there's more) */
.block > div { min-width: 0; }
.block__sub { margin: .5rem 0 0; font-size: .9rem; color: var(--muted); }   /* let a strip scroll inside its column instead of widening the page */
.strip-note { margin: 0 0 1.2rem; color: var(--muted); max-width: 52ch; }
.strip {
  display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x proximity; padding: .2rem 3rem 1rem 0;
  scrollbar-width: thin; scrollbar-color: var(--rule) transparent; overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent);
}
.strip:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.strip__item { flex: 0 0 auto; margin: 0; width: min-content; scroll-snap-align: start; }
.strip__img { display: block; height: clamp(190px, 22vw, 270px); width: auto; max-width: none; box-shadow: 0 2px 10px rgb(0 0 0 / .08); }
/* one painting at a time, with small arrows on the page either side of it */
.paintings { display: grid; grid-template-columns: auto minmax(0, calc(clamp(320px, 50vw, 600px) * .76)) auto; justify-content: center; align-items: center; column-gap: 1rem; min-width: 0; }   /* the middle column is about as wide as the widest painting */
.paintings .postcard__arrow { position: static; display: grid; translate: none; width: 30px; height: 30px; padding: 0 0 2px; background: none; box-shadow: none; border: 1px solid var(--rule); font-size: 1.15rem; color: var(--muted); transition: color .2s ease, border-color .2s ease; }
.paintings .postcard__arrow:hover { background: none; scale: 1; color: var(--ink); border-color: var(--ink); }
.strip--large { display: block; overflow: clip; padding: .2rem 0 .6rem; scroll-snap-type: none; -webkit-mask-image: none; mask-image: none; }   /* moved by the arrows, never scrolled */
.strip__track { position: relative; display: flex; gap: 0; transition: translate .45s ease; }
.strip--large .strip__item { flex: 0 0 100%; width: 100%; display: grid; place-items: center; }
.strip--large .strip__zoom { max-width: 100%; }
.strip--large .strip__img { height: clamp(320px, 50vw, 600px); max-width: 100%; object-fit: contain; }
.strip__zoom { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; }
.strip__zoom:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: none; overflow: hidden; cursor: zoom-out; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgb(30 27 24 / .84); }
.lightbox img { display: block; max-width: calc(100vw - 2rem); max-height: calc(100dvh - 2rem); width: auto; height: auto; box-shadow: 0 20px 60px rgb(0 0 0 / .4); }
.lightbox__fig { margin: 0; display: grid; justify-items: center; gap: .8rem; cursor: default; }
.lightbox__fig img { max-height: calc(100dvh - 5.5rem); }
.lightbox.has-many .lightbox__fig img { cursor: pointer; max-width: calc(100vw - 7rem); }
.lightbox__fig figcaption { font: .7rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgb(255 253 248 / .85); white-space: pre; }
.lightbox__fig figcaption:empty { display: none; }
.lightbox__arrow { display: none; position: fixed; top: 50%; translate: 0 -50%; width: 34px; height: 34px; padding: 0 0 2px; border: 1px solid rgb(255 253 248 / .5); border-radius: 50%;
  background: none; color: #fffdf8; font: 1.3rem/1 var(--serif); cursor: pointer; place-items: center; }
.lightbox.has-many .lightbox__arrow { display: grid; }
.lightbox__arrow:hover { border-color: #fffdf8; }
.lightbox__arrow--prev { left: 1rem; } .lightbox__arrow--next { right: 1rem; }
.lightbox__close { position: fixed; right: 1rem; top: 1rem; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #fffdf8; color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; }
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] img { animation: lightbox-in .28s ease; }
  .lightbox[open]::backdrop { animation: lightbox-fade .28s ease; }
}
@keyframes lightbox-in { from { opacity: 0; transform: scale(.94); } }
@keyframes lightbox-fade { from { opacity: 0; } }
.strip__item--empty .strip__img { aspect-ratio: 4 / 5; background: var(--tint); display: grid; place-items: center; box-shadow: none; }
.strip__item figcaption { padding-top: .6rem; min-width: 9rem; }
.strip__title { display: block; font: 400 1rem/1.25 var(--serif); }
.strip__detail { display: block; margin-top: .15rem; font-size: .82rem; color: var(--muted); }

/* Videos on hobby pages: cover + play button, swapped for the player on click */
.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; }
.video { margin: 0; }
.video--featured { grid-column: 1 / -1; }
.video__play, .video__frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: var(--tint); }
.video__play { position: relative; overflow: hidden; cursor: pointer; }
.video__cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .5s ease; }
.video__cover--painting { background-size: 260%; }
.video__cover--painting::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) 18%, transparent); }
.video__play:hover .video__cover { scale: 1.03; }
/* on hover a warm band of golden light sweeps across the cover; the pixie dust is a canvas (script.js) */
.video__play::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s ease;
  background: linear-gradient(115deg, transparent 32%, rgb(255 214 140 / .16) 44%, rgb(255 236 190 / .42) 50%, rgb(255 214 140 / .16) 56%, transparent 68%) no-repeat;
  background-size: 250% 100%; background-position: 130% 0; mix-blend-mode: screen;
}
.video__play:hover::before { opacity: 1; animation: cover-sweep 1.8s ease-out forwards; }
.video__play .dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.video__icon { z-index: 1; }
@keyframes cover-sweep { to { background-position: -30% 0; } }
/* "▶ Listen" beside a piece that has a recording on the page */
.table .listen { margin-left: .6rem; font: .62rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.table .listen:hover { color: var(--ink); }
.video__icon {
  position: absolute; left: 50%; top: 50%; width: 3.2rem; height: 3.2rem; translate: -50% -50%; border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 88%, transparent); box-shadow: 0 4px 14px rgb(0 0 0 / .12); transition: scale .3s ease;
}
.video__icon::after { content: ""; position: absolute; left: 54%; top: 50%; translate: -50% -50%; border-style: solid; border-width: .5rem 0 .5rem .8rem; border-color: transparent transparent transparent var(--ink); }
.video--featured .video__icon { width: 4.2rem; height: 4.2rem; }
.video__play:hover .video__icon { scale: 1.08; }
.video figcaption { padding-top: .7rem; }
.video__title { display: block; font: 400 1.15rem/1.25 var(--serif); }
.video--featured .video__title { font-size: 1.55rem; }
.video__detail { display: block; margin-top: .2rem; font-size: .9rem; color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.table { margin: 0; border-top: 1px solid var(--ink); }
.table div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 1.5rem; padding: .6rem 0; border-bottom: 1px solid var(--rule); }
.table dt { font: 400 1.05rem/1.3 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* each title on one line */
.table dd { margin: 0; font-size: .88rem; color: var(--muted); text-align: right; white-space: nowrap; }

/* Reading page for pieces hosted on the site */
.reader { padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 8vw, 5rem); }
.reader h1 { font: 400 clamp(2.4rem, 5vw, 4.2rem)/1 var(--serif); letter-spacing: -.02em; margin: 1.2rem 0 0; max-width: 18ch; }
.reader__body { max-width: 46rem; margin-top: clamp(2rem, 5vw, 3.5rem); padding-top: 2rem; border-top: 1px solid var(--rule); }
/* body text in Newsreader, a serif made for reading long pieces on screen (the headings keep Instrument Serif) */
.reader__body p { font: 400 1.14rem/1.75 "Newsreader", Georgia, serif; font-optical-sizing: auto; margin: 0 0 1.25rem; color: var(--ink); }

/* Other sections (unordered) — one quiet line */
.more { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.2rem; padding-block: 1rem 2rem; }
.more ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.more a { font-size: .92rem; color: var(--muted); }
.more a:hover { color: var(--ink); }

/* ---------- Footer ---------- */
.colophon { border-top: 1px solid var(--ink); margin-top: 2rem; }
.colophon__top { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; padding-block: 3rem 2.5rem; }
.colophon__email {
  display: inline-block; font: 400 clamp(1.25rem, 2.2vw, 1.6rem)/1.15 var(--serif);
  letter-spacing: -.01em; margin-top: .4rem; transition: color .3s; overflow-wrap: anywhere;
}
.colophon__email:hover { color: var(--accent); }
.colophon__email::after { content: " ↗"; font-family: var(--sans); font-size: .45em; vertical-align: .6em; }
.socials { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.6rem; }
.colophon__bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-block: 1.2rem 2.2rem; border-top: 1px solid var(--rule);
  font: .72rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
}

/* Reveal */
.reveal { opacity: 0; translate: 0 18px; transition: opacity .9s ease, translate .9s ease; }
.reveal.is-visible { opacity: 1; translate: 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .masthead .wrap { flex-wrap: wrap; row-gap: .7rem; }
  .masthead__rule { order: 0; }
  .masthead__nav { order: 3; width: 100%; justify-content: space-between; gap: .5rem; font-size: clamp(.76rem, 3.6vw, .9rem); white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
  .hero { grid-template-columns: 1fr; }
  .headshot { order: -1; justify-self: start; width: min(46%, 180px); margin-right: 0; }
  .block { grid-template-columns: 1fr; gap: 1.4rem; }
  .about { grid-template-columns: 1fr; }
  .index__row { grid-template-columns: 1fr 1.2rem; }
  .index .blurb { grid-column: 1; grid-row: 2; }
  .index .arrow { grid-column: 2; grid-row: 1; }
  /* stack dates above the title so they stay on one line */
  .row > *, .rows--work .row > * { grid-template-columns: 1fr 1.2rem; row-gap: .5rem; }
  .row .when { grid-column: 1 / -1; }
  .filters { gap: 1rem; }
  .filters button { font-size: .64rem; letter-spacing: .05em; }
  .row .meta { display: none; }
  .board { gap: 2rem 1.4rem; justify-content: center; }
  .tabs { gap: .75rem; justify-content: space-between; }
  .atlas__veil { position: fixed; }
  .postcard { position: fixed; --pc: min(92vw, 440px); aspect-ratio: auto; grid-template-columns: minmax(0, 1fr); max-height: 88vh; overflow: auto; font-size: 14px; }
  .postcard__photo { margin: 10px 10px 0; aspect-ratio: 3 / 2; }
  .postcard__notes { overflow: visible; }
  .pin { width: 9px; height: 18px; } .pin__head { width: 9px; height: 9px; } .pin::before { height: 10px; }
  .pin--cluster { width: 14px; height: 24px; } .pin--cluster .pin__head { width: 14px; height: 14px; font-size: .48rem; }
  .stack__row { --pw: 140px; height: calc(140px * 1.5 * 1.3 + 16px); justify-content: flex-start; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding: 0 2.5rem; }
  .stack__poster { width: 140px; }
  .stack__poster.is-up { transform: rotateY(0deg) scale(1.25); }
  .shelf__row { height: 240px; gap: 1px; padding: 0 .1rem; }
  .spine { --w2: calc(var(--w) * .44); width: var(--w2); padding: .6rem 0 .5rem; gap: .3rem; }
  .spine--photo { padding: 0; }
  .spine .spine__title { font-size: calc(var(--w2) * .45); }
  .spine .t-bebas { font-size: calc(var(--w2) * .62); }
  .spine .t-hand { font-size: calc(var(--w2) * .55); }
  .spine__by { display: none; }
  .tabs__tab { font-size: clamp(1rem, 5vw, 1.3rem); }
  .book { width: 118px; } .clipping { width: 180px; } .ticket { width: 230px; }
  .record { width: 160px; height: 126px; } .record__sleeve { width: 126px; } .record__disc { width: 116px; height: 116px; left: 38px; }
  .table dt { white-space: normal; }   /* phones: long titles may wrap */
  .drift { aspect-ratio: 400 / 720; }
  .drift .drift__centre { display: block; width: 40%; left: 31%; top: 46%; }
  .drift__caption { width: 150%; margin-left: -25%; font-size: 1rem; }   /* phones: stays clear of the pen and the screen edge */
  .drift .drift__centre .polaroid { width: 100%; }
  .saekdong { height: 20px; }
  .charm { width: 32px; right: 5%; }
  .hobbies-title + .lede { padding-right: 52px; }   /* room for the knot's tassel */
  .drift__obj { left: var(--mx); top: var(--my); width: var(--mw); }
  .videos { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .design-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .video__play:hover::before { animation: none; opacity: 0; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hello .word { opacity: 1; translate: 0 0; }
}

/* hobby headers (text + polaroid stack) keep their side-by-side layout down to small tablets */
@media (max-width: 700px) {
  .hobby-head__grid { grid-template-columns: 1fr; }
  .hobby-head--photos .hobby-head__grid { grid-template-columns: 1fr; }
  .polaroids { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; margin-top: 1rem; }
  .polaroid, .polaroid + .polaroid { width: auto; margin: 0; }
  .polaroid figcaption { height: auto; padding-bottom: .5rem; }   /* no hover on phones: full captions always shown */
  .polaroid__cap, .polaroid:hover .polaroid__cap { position: static; padding: 0; white-space: normal; box-shadow: none; }
  .polaroid__date { display: block; }
}
@media (max-width: 860px) { .row__more { grid-column: 1; } }

/* Writing page, when opened from the pen on the Hobbies page: a small pill in the corner back to the doljabi */
.back-pill { position: fixed; left: max(1rem, env(safe-area-inset-left)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 50;
  padding: .55rem .95rem; border-radius: 999px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(6px);
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); box-shadow: 0 6px 18px rgb(0 0 0 / .08);
  font: .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none; transition: color .25s ease, translate .25s ease; }
.back-pill:hover, .back-pill:focus-visible { color: var(--accent); translate: -2px 0; }
#doljabi { scroll-margin-top: 5rem; }   /* "Back to Hobbies" lands on the objects, below the sticky menu */
