/* ==========================================================================
   Fanou · 8bits power — charte « badge rétro » : crème, marine, orange, ciel
   ========================================================================== */
@font-face { font-family: "Bungee"; src: url("../fonts/bungee-latin-400-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Rubik"; font-weight: 400; src: url("../fonts/rubik-latin-400-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Rubik"; font-weight: 500; src: url("../fonts/rubik-latin-500-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Rubik"; font-weight: 700; src: url("../fonts/rubik-latin-700-normal.woff2") format("woff2"); font-display: swap; }

:root {
  --cream: #f7efdc;
  --paper: #fffaf0;
  --navy: #1d3b63;
  --navy-2: #284e80;
  --orange: #e8662a;
  --orange-2: #c94f17;
  --sky: #59afe0;
  --sky-deep: #2f78b5;
  --brown: #6b3f22;
  --red: #c8432f;
  --green: #3f8a5a;
  --ink: #1b2433;
  --muted: #5d6676;
  --line: #1d3b63;
  --bg: var(--cream);
  --panel: var(--paper);
  --shadow: 4px 4px 0 var(--navy);
  --radius: 14px;
  --font-display: "Bungee", "Impact", "Arial Black", sans-serif;
  --font: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Code", "JetBrains Mono", Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12233b;
    --panel: #1a2f4d;
    --ink: #f3ead6;
    --muted: #a9b4c6;
    --line: #f3ead6;
    --shadow: 4px 4px 0 #0a1526;
    --cream: #f3ead6;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgb(232 102 42 / .06), transparent 40%),
    radial-gradient(circle at 85% 80%, rgb(89 175 224 / .08), transparent 45%),
    var(--bg);
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
a { color: var(--sky-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) { a { color: var(--sky); } }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: .01em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 99; background: var(--orange); color: #fff; padding: 8px 14px; border-radius: 8px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.ico-lg { width: 1.6em; height: 1.6em; }
.ico-xl { width: 3rem; height: 3rem; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* --- Bandeau tricolore façon anneau du badge --- */
.stripe { height: 10px; background: linear-gradient(var(--navy) 0 40%, var(--orange) 40% 70%, var(--cream) 70%); }
.footer .stripe { background: linear-gradient(var(--cream) 0 30%, var(--orange) 30% 60%, var(--navy) 60%); }

/* --- En-tête --- */
.topbar { background: var(--navy); color: var(--cream); position: relative; z-index: 20; }
.topbar-in { display: flex; align-items: center; gap: 18px; padding-block: 10px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); text-decoration: none; margin-right: auto; }
.brand .badge { width: 74px; height: 74px; border-radius: 50%; flex: none; transition: transform .3s; }
.brand:hover .badge { transform: rotate(-10deg) scale(1.05); }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt strong { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; color: var(--cream); }
.brand-txt small { color: var(--sky); font-size: .85rem; }
.badge-top { font-family: var(--font-display); font-size: 24px; letter-spacing: 2px; }
.badge-bottom { font-family: var(--font-display); font-size: 15px; letter-spacing: 1px; }

.nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  color: var(--cream); text-decoration: none; font-weight: 500; border: 2px solid transparent;
}
.nav-link:hover { border-color: var(--orange); }
.nav-link.is-active { background: var(--orange); color: #fff; }
.search { display: flex; background: var(--paper); border-radius: 999px; overflow: hidden; border: 2px solid var(--orange); }
.search input { border: 0; background: transparent; padding: 7px 12px; width: 170px; font: inherit; color: #1b2433; }
.search input:focus { outline: none; }
.search button { border: 0; background: var(--orange); color: #fff; padding: 0 12px; cursor: pointer; }
.menu-btn { display: none; }

@media (max-width: 980px) {
  .menu-btn { display: inline-flex; gap: 6px; align-items: center; background: transparent; color: var(--cream); border: 2px solid var(--cream); border-radius: 10px; padding: 6px 12px; font: inherit; cursor: pointer; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 12px; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; }
  .search input { width: 100%; }
  .brand .badge { width: 50px; height: 50px; }
}

/* --- Héros --- */
.hero { padding: 48px 0 28px; }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.kicker { font-family: var(--font-display); color: var(--orange); letter-spacing: .08em; margin: 0 0 6px; font-size: .9rem; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); margin: 0 0 14px; color: var(--navy); text-shadow: 3px 3px 0 var(--orange); }
@media (prefers-color-scheme: dark) { .hero h1 { color: var(--cream); } }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.hero-cats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.tile {
  display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--radius);
  background: var(--panel); border: 3px solid var(--line); box-shadow: var(--shadow);
  text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s;
}
.tile:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--accent); }
.tile .ico { color: var(--accent); }
.tile strong { font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; }
.tile span { color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .hero-in { grid-template-columns: 1fr; } }

/* Couleur d'accent par catégorie */
.c-navy { --accent: var(--navy-2); } .c-orange { --accent: var(--orange); } .c-sky { --accent: var(--sky-deep); }
.c-brown { --accent: var(--brown); } .c-red { --accent: var(--red); } .c-green { --accent: var(--green); }
@media (prefers-color-scheme: dark) { .c-navy { --accent: var(--sky); } .c-brown { --accent: #c48a5c; } }

/* --- Sections & cartes --- */
.section { padding-block: 28px 56px; }
.section-head h2 { font-size: 1.6rem; margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.section-head h2::after { content: "★ ★ ★"; color: var(--orange); font-size: .8rem; letter-spacing: .3em; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card { background: var(--panel); border: 3px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--accent); }
.card-link { color: inherit; text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.card-cover { position: relative; aspect-ratio: 16 / 9; background: var(--accent); border-bottom: 3px solid var(--line); overflow: hidden; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-ph {
  height: 100%; display: grid; place-items: center; color: rgb(255 255 255 / .9);
  background: repeating-linear-gradient(-45deg, transparent 0 14px, rgb(255 255 255 / .08) 14px 28px), var(--accent);
}
.pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px;
  background: var(--accent, var(--navy)); color: #fff; font-size: .8rem; font-weight: 500;
}
.card-cover .pill { position: absolute; left: 10px; top: 10px; border: 2px solid #fff; }
.star-flag { position: absolute; right: 10px; top: 10px; background: var(--orange); color: #fff; border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid #fff; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.15rem; }
.card-body p { margin: 0; color: var(--muted); font-size: .95rem; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: .85rem; color: var(--muted); margin-top: auto !important; padding-top: 6px; }
.lvl { background: var(--sky); color: #102a44; padding: 1px 8px; border-radius: 6px; font-weight: 500; }

.empty { text-align: center; padding: 50px 20px; border: 3px dashed var(--muted); border-radius: var(--radius); color: var(--muted); }
.empty.big h1 { color: var(--orange); }

/* --- Bandeau de page --- */
.page-head { background: var(--accent); color: #fff; padding: 30px 0 26px; border-bottom: 4px solid var(--navy); position: relative; }
.page-head::after { content: ""; position: absolute; inset: auto 0 -14px 0; height: 10px; background: linear-gradient(var(--orange) 0 50%, transparent 50%); opacity: .9; }
.page-head h1 { margin: 6px 0; font-size: clamp(1.7rem, 3.4vw, 2.5rem); display: flex; align-items: center; gap: 12px; text-shadow: 3px 3px 0 rgb(0 0 0 / .25); }
.page-head .lead { color: rgb(255 255 255 / .9); margin: 4px 0 0; }
.page-head .meta { color: rgb(255 255 255 / .9); }
.page-head .pill { background: rgb(0 0 0 / .25); }
.crumbs { margin: 0; font-size: .9rem; opacity: .9; }
.crumbs a, .page-head a { color: #fff; }
.c-orange.page-head .page-head, .c-sky.page-head { color: #fff; }

.tagbar, .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 999px; border: 2px solid var(--line); color: var(--ink); text-decoration: none; font-size: .88rem; background: var(--panel); }
.tag.is-on, .tag:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.page-head .tag { background: rgb(255 255 255 / .15); border-color: rgb(255 255 255 / .6); color: #fff; }

/* --- Page publication --- */
.item-head { display: flex; gap: 24px; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; }
.actions { display: flex; flex-direction: column; gap: 10px; min-width: 240px; }
.item-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; align-items: start; }
.item-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.item-side { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; }
.item-cover { border: 3px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
@media (max-width: 900px) { .item-layout { grid-template-columns: 1fr; } .item-side { position: static; max-height: none; } }

.panel { background: var(--panel); border: 3px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.panel h2 { font-size: 1.25rem; margin-top: 0; }
.panel-title { margin: -4px 0 12px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.panel-title small { margin-left: auto; color: var(--muted); font-weight: 400; }

.prose { overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose h2, .prose h3 { font-family: var(--font); font-weight: 700; color: var(--accent, var(--navy)); }
.prose blockquote { margin: 0; padding: 8px 14px; border-left: 5px solid var(--orange); background: rgb(232 102 42 / .08); border-radius: 0 8px 8px 0; }
.prose code { font-family: var(--mono); background: rgb(29 59 99 / .1); padding: 1px 5px; border-radius: 4px; font-size: .9em; }
.code, .prose pre { background: #14243b; color: #f3ead6; padding: 14px 16px; border-radius: 10px; overflow: auto; font-family: var(--mono); font-size: .88rem; line-height: 1.5; white-space: pre; }
.code code { background: none; padding: 0; color: inherit; }
.prose hr { border: 0; border-top: 3px dotted var(--orange); }
.prose img { border-radius: 8px; }

/* Arborescence */
.tree { list-style: none; margin: 0; padding-left: 16px; font-size: .93rem; }
.tree-root { padding-left: 0; }
.tree li { margin: 1px 0; }
.tree summary { cursor: pointer; padding: 3px 4px; border-radius: 6px; display: flex; gap: 6px; align-items: center; font-weight: 500; }
.tree summary:hover { background: rgb(232 102 42 / .12); }
.t-dir > details > summary .ico { color: var(--orange); }
.t-file { display: flex; align-items: center; gap: 8px; padding: 2px 4px; border-radius: 6px; }
.t-file:hover { background: rgb(89 175 224 / .15); }
.t-name { flex: 1; min-width: 0; display: flex; gap: 6px; align-items: center; color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-name:hover { color: var(--orange); }
.t-name.is-current { color: var(--orange); font-weight: 700; }
.t-size { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.t-dl { color: var(--muted); display: inline-flex; }
.t-dl:hover { color: var(--orange); }
.k-image .t-name .ico { color: var(--green); } .k-pdf .t-name .ico { color: var(--red); }
.k-html .t-name .ico { color: var(--orange); } .k-text .t-name .ico { color: var(--sky-deep); }

/* Visionneuse */
.viewer { padding: 0; overflow: hidden; }
.viewer-bar { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 16px; background: var(--navy); color: var(--cream); flex-wrap: wrap; }
.viewer-bar a, .viewer-bar .linkish { color: var(--cream); }
.viewer-bar span { display: flex; gap: 14px; align-items: center; }
#viewer-body iframe { width: 100%; height: 75vh; border: 0; display: block; background: #fff; }
#viewer-body img, #viewer-body video { display: block; margin: 0 auto; max-height: 75vh; }
#viewer-body audio { width: 100%; margin: 20px 0; }
#viewer-body pre { margin: 0; border-radius: 0; max-height: 75vh; }
#viewer-body .img-wrap { padding: 16px; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0 / 20px 20px; }

/* --- Boutons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 18px; border-radius: 12px;
  background: var(--orange); color: #fff !important; border: 3px solid var(--navy); box-shadow: 3px 3px 0 var(--navy);
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .1s, box-shadow .1s;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--navy); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--navy); }
.btn small { font-weight: 400; opacity: .85; }
.btn-big { padding: 12px 22px; font-size: 1.05rem; }
.btn-alt { background: var(--sky-deep); }
.btn-ghost { background: var(--paper); color: var(--navy) !important; }
.btn-danger { background: var(--red); }
.btn-sm { padding: 4px 10px; font-size: .85rem; box-shadow: 2px 2px 0 var(--navy); border-width: 2px; }
.page-head .btn { border-color: #fff; box-shadow: 3px 3px 0 rgb(0 0 0 / .3); }
.c-orange.page-head .btn:not(.btn-ghost), .c-red.page-head .btn:not(.btn-ghost) { background: var(--navy); }
.page-head .btn-ghost { color: var(--navy) !important; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; display: inline-flex; gap: 5px; align-items: center; }

/* --- Messages --- */
.flash { padding: 10px 16px; border-radius: 10px; border: 2px solid; margin: 16px 0 0; font-weight: 500; }
.flash-ok { background: #e6f4ea; border-color: var(--green); color: #1d4b2d; }
.flash-error { background: #fbe9e5; border-color: var(--red); color: #7a2213; }

/* --- Formulaires --- */
.form { display: flex; flex-direction: column; gap: 14px; }
.form.narrow { max-width: 420px; margin: 20px auto; text-align: left; }
.form-title { font-size: 1.5rem; margin: 0; display: flex; gap: 10px; align-items: center; color: var(--orange); }
.form label { display: block; font-weight: 500; }
.form label > input, .form label > select, .form label > textarea { display: block; margin-top: 5px; }
.form label small { font-weight: 400; color: var(--muted); }
input, select, textarea {
  font: inherit; padding: 9px 12px; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: #1b2433; width: 100%;
}
textarea { font-family: var(--mono); font-size: .92rem; resize: vertical; }
input[type="file"] { padding: 7px; background: var(--paper); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgb(232 102 42 / .25); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
@media (max-width: 700px) { .cols { grid-template-columns: 1fr; } }
.checks { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.form .check { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.form .check input { margin: 0; }
.check input { width: auto; accent-color: var(--orange); }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.thumb { width: 120px; border: 2px solid var(--line); border-radius: 8px; }
.thumb.round { border-radius: 50%; width: 90px; }
.inline { display: inline; }

.drop {
  position: relative; border: 3px dashed var(--orange); border-radius: var(--radius); padding: 26px; text-align: center;
  background: repeating-linear-gradient(-45deg, transparent 0 18px, rgb(232 102 42 / .05) 18px 36px);
  color: var(--ink); transition: background .2s;
}
.drop .ico { color: var(--orange); }
.drop.is-over { background: rgb(232 102 42 / .15); }
.drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-name { font-weight: 700; color: var(--sky-deep); margin: 6px 0 0; min-height: 1.2em; }

.progress { position: relative; height: 26px; border: 3px solid var(--navy); border-radius: 999px; overflow: hidden; background: var(--paper); }
.progress .bar { height: 100%; width: 0; background: repeating-linear-gradient(-45deg, var(--orange) 0 12px, var(--orange-2) 12px 24px); transition: width .2s; }
.progress span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; font-size: .85rem; color: var(--navy); }

/* --- Admin --- */
.admin-tabs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; align-items: center; }
.admin-tabs a, .admin-tabs .linkish { color: #fff; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; padding: 4px 0; border-bottom: 3px solid transparent; }
.admin-tabs a.is-on, .admin-tabs a:hover { border-color: var(--orange); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat { background: var(--panel); border: 3px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 16px; }
.stat strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: var(--orange); }
.stat span { color: var(--muted); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.filters select { width: auto; }
.filters .btn:last-child { margin-left: auto; }
.table-wrap { overflow-x: auto; border: 3px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--panel); margin-bottom: 24px; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th { background: var(--navy); color: var(--cream); text-align: left; padding: 10px; font-weight: 500; white-space: nowrap; }
.table td { padding: 8px 10px; border-top: 1px solid rgb(29 59 99 / .15); vertical-align: middle; }
.table tr:hover td { background: rgb(89 175 224 / .08); }
.table.cats input, .table.cats select { padding: 5px 8px; font-size: .9rem; min-width: 90px; }
.w-xs { width: 70px !important; min-width: 0 !important; }
.row-actions { white-space: nowrap; display: flex; gap: 6px; }
.ok { color: var(--green); font-weight: 700; }
.settings { display: grid; gap: 24px; }
.kv { list-style: none; padding: 0; margin: 0; }
.kv li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed rgb(29 59 99 / .2); }

/* --- Pied de page --- */
.footer { background: var(--navy); color: var(--cream); margin-top: 30px; }
.footer-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 18px; font-size: .92rem; }
.footer p { margin: 0; }
.footer a { color: var(--sky); }
.footer .muted { color: #b8c4d6; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.form > .btn { align-self: flex-start; }
.form.narrow > .btn { align-self: stretch; }

/* --- Page À propos --- */
.about { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 26px; align-items: start; }
.about-card { position: sticky; top: 16px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.about-badge .badge { width: 180px; height: 180px; border-radius: 50%; display: block; }
.about-name { font-size: 1.5rem; margin: 6px 0 0; color: var(--orange); }
.about-role { margin: 0; color: var(--muted); }
.about-skills { list-style: none; padding: 0; margin: 8px 0 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.about-skills li { font-family: var(--mono); font-size: .8rem; padding: 2px 9px; border: 2px solid var(--line); border-radius: 6px; background: var(--bg); }
.about-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.about-h { font-size: 1.3rem; margin: 0 0 14px; }
.about-prose h3 { font-family: var(--font-display); font-weight: 400; color: var(--navy); font-size: 1.25rem; margin-top: 1.4em; }
@media (prefers-color-scheme: dark) { .about-prose h3 { color: var(--sky); } }
.timeline { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 91px; top: 6px; bottom: 6px; width: 3px; background: var(--orange); border-radius: 2px; }
.timeline li { display: grid; grid-template-columns: 72px 1fr; gap: 46px; padding: 7px 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 82px; top: 12px; width: 13px; height: 13px; border-radius: 50%; background: var(--panel); border: 3px solid var(--navy); }
.tl-year { font-family: var(--font-display); color: var(--orange); text-align: right; }
.nav-about { border-color: rgb(247 239 220 / .35); }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-card { position: static; }
}
