/* Fast Lane: one plain, readable page. White text on black, red for the things you can click. */
:root { --bg: #000; --fg: #fff; --fg-2: #c9c4bb; --red: #ff5a4a; --btn: #c8362b; --line: rgba(255, 255, 255, .22); --card: #111; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; background: var(--bg); color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 1.05rem/1.65 'Libre Caslon Text', Georgia, serif; }
a { color: var(--fg); text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .22em; }
a:hover { background: var(--red); color: #000; text-decoration-color: transparent; }
:focus-visible { outline: 3px solid #ffd24a; outline-offset: 2px; }
.wrap { max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -999px; top: .5rem; background: #fff; color: #000; padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: .5rem; }

.top { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 2px solid var(--red); }
.top > .wrap:first-child { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem 1rem; padding-top: .7rem; }
.brand { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 1.15rem; }
.to-folder { font-size: .9rem; }
.jump { display: flex; gap: 1rem; overflow-x: auto; padding-top: .35rem; padding-bottom: .6rem; scrollbar-width: thin; }
.jump a { flex: none; font-size: .9rem; text-decoration: none; color: var(--fg-2); padding: .1rem .15rem; }
.jump a:hover { background: var(--red); color: #000; }

main { padding-bottom: 3rem; }
.intro { padding: 2.2rem 0 1.2rem; border-bottom: 1px solid var(--line); }
h1 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-weight: 900; font-size: clamp(1.9rem, 6vw, 2.7rem); line-height: 1.1; }
.role { margin: .5rem 0 0; font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 700; font-size: 1.2rem; color: var(--red); }
.tag { margin: .8rem 0 1.1rem; max-width: 38rem; color: var(--fg-2); }
.quick { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: center; margin: 0; }
.btn { display: inline-block; padding: .55rem 1.1rem; background: var(--btn); color: #fff; border: 2px solid var(--btn); text-decoration: none; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; }
.btn:hover { background: #fff; color: #000; border-color: #fff; }

section { padding: 1.7rem 0 .4rem; }
h2 { margin: 0 0 .9rem; padding-bottom: .3rem; border-bottom: 2px solid var(--fg); font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 1.45rem; }
h3 { margin: 0 0 .35rem; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
p { margin: 0 0 .8rem; }
ul { list-style: none; margin: 0; padding: 0; }

.facts div { display: grid; grid-template-columns: 8rem 1fr; gap: .6rem; padding: .3rem 0; border-bottom: 1px dotted var(--line); }
.facts dt { color: var(--fg-2); font-size: .9rem; }
.facts dd { margin: 0; }
.skills { display: grid; gap: .8rem 2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.skills h3 { font-size: 1rem; color: var(--red); }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .7rem; }
.tags li { padding: .05rem .6rem; border: 1px solid var(--fg-2); border-radius: 99px; font-size: .85rem; }
.stack { display: grid; gap: 1.2rem; }
.card { padding: 1rem 1.1rem .6rem; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--red); }
.pill { display: inline-block; padding: 0 .5rem; border: 1px solid currentColor; border-radius: .25rem; font-size: .75rem; color: var(--red); vertical-align: .1em; font-weight: 400; }
.meta { font-size: .95rem; }
.bul li { position: relative; padding-left: 1.2rem; margin-bottom: .45rem; }
.bul li::before { content: ''; position: absolute; left: .2rem; top: .65em; width: .45rem; height: .45rem; background: var(--red); }

/* Links: the label, and the address it goes to */
.links { display: flex; flex-wrap: wrap; gap: .5rem .7rem; margin: .3rem 0 .6rem; }
.lk { display: inline-flex; flex-direction: column; padding: .35rem 1.7rem .35rem .8rem; position: relative; background: var(--btn); color: #fff; text-decoration: none; line-height: 1.25; }
.lk b { font-family: 'Playfair Display', Georgia, serif; font-size: .98rem; }
.lk small { font-family: 'Special Elite', 'Courier New', monospace; font-size: .74rem; opacity: .92; overflow-wrap: anywhere; }
.lk::after { content: ''; position: absolute; right: .65rem; top: 50%; width: .5rem; height: .5rem; margin-top: -.28rem; border: solid #fff; border-width: 2px 2px 0 0; transform: rotate(45deg); }
a.lk:hover { background: #fff; color: #000; }
a.lk:hover::after { border-color: #000; }
.lk.todo { background: transparent; color: var(--fg-2); border: 1px dashed var(--fg-2); }
.lk.todo::after { display: none; }
.lk.todo small { font-style: italic; font-family: inherit; }

.rows li { display: grid; grid-template-columns: 7rem 1fr; gap: .8rem; padding: .7rem 0; border-bottom: 1px dotted var(--line); }
.when { color: var(--red); font-family: 'Special Elite', 'Courier New', monospace; }
.note { color: var(--fg-2); font-size: .95rem; }
.rows .links { margin-top: .4rem; }
.foot { padding-top: 1.2rem; padding-bottom: 2rem; border-top: 1px solid var(--line); color: var(--fg-2); font-size: .85rem; }

@media (max-width: 34rem) {
  .facts div, .rows li { grid-template-columns: 1fr; gap: .1rem; }
  html { scroll-padding-top: 6.5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .top, .skip { display: none; } html, body { background: #fff; color: #000; } .card { background: #fff; } a { color: #000; } }
