/* Bundled font notices
Copyright 2016 The Oswald Project Authors (https://github.com/googlefonts/OswaldFont)
Copyright 2011 The Lora Project Authors (https://github.com/cyrealtype/Lora-Cyrillic), with Reserved Font Name "Lora".

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded, 
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
*/
:root {
  --ink: #0b0e0c;
  --bg: #111510;
  --surface: #1d231c;
  --surface-up: #2c3429;
  --line: #46503f;
  --metal: #87937d;
  --muted: #bdc4b4;
  --text: #e3e5d8;
  --paper: #f3efe2;
  --primary: #b13a2e;
  --archive-red-light: #e57861;
  --archive-red-deep: #852d25;
  --accent: #e0cea1;
  --ink-rgb: 11 14 12;
  --archive-red-rgb: 177 58 46;
  --accent-rgb: 224 206 161;
  --radius: 2px;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;
  --fs-xs: 12px; --fs-sm: 13px; --fs-base: 17px; --fs-md: 19px; --fs-lg: 22px;
  --fs-xl: 28px; --fs-2xl: 36px; --fs-3xl: 48px; --fs-4xl: 66px;
  --font-head: "VF Oswald", "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --font-body: "VF Lora", Georgia, "Times New Roman", serif;
  --font-label: var(--font-head);
  --gutter: clamp(18px, 4.2vw, 64px);
  --jump: 90px;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:var(--fs-base);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  background-image:radial-gradient(1200px 600px at 80% -10%,rgb(var(--archive-red-rgb) / .07),transparent 70%);
  background-repeat:no-repeat;
}
img,svg{max-width:100%;display:block}
a{color:var(--text);text-decoration-color:rgb(var(--archive-red-rgb) / .55);text-underline-offset:3px}
a:hover{color:var(--accent);text-decoration-color:var(--accent)}
p{margin:0 0 var(--space-4);max-width:68ch;text-wrap:pretty}
strong{font-weight:600;color:var(--paper)}
em{font-style:italic}
h1,h2,h3,h4{font-family:var(--font-head);font-weight:500;line-height:1.14;letter-spacing:-.01em;margin:0 0 var(--space-4);text-wrap:balance;color:var(--paper)}
h1{font-size:clamp(34px,6vw,var(--fs-4xl));letter-spacing:-.02em;word-spacing:-.05em}
h2{font-size:clamp(25px,3.2vw,var(--fs-2xl))}
h3{font-size:var(--fs-lg)}
h4{font-size:var(--fs-md)}
ul,ol{margin:0 0 var(--space-4);padding-left:1.25em}
li{margin-bottom:var(--space-2)}
hr{border:0;border-top:1px solid var(--line);margin:var(--space-7) 0}
:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
::selection{background:rgb(var(--archive-red-rgb) / .3);color:var(--paper)}
.skip{position:absolute;left:-9999px}
.skip:focus{left:var(--space-4);top:var(--space-4);z-index:99;background:var(--primary);color:var(--paper);padding:var(--space-2) var(--space-4)}
@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important}}

.wrap{max-width:1140px;margin-inline:auto;padding-inline:20px}

/* ---------- 2. header / footer ---------- */
.site-head{border-bottom:1px solid var(--line);background:rgb(var(--ink-rgb) / .92);position:sticky;top:0;z-index:20;backdrop-filter:none}
.head-inner{display:flex;align-items:center;justify-content:space-between;gap:var(--space-5);min-height:64px}
.brand{font-family:var(--font-head);font-weight:600;font-size:var(--fs-md);letter-spacing:.06em;text-transform:uppercase;text-decoration:none;color:var(--paper)}
.brand:hover{color:var(--accent)}
.nav{display:flex;gap:var(--space-5);font-family:var(--font-head);font-size:var(--fs-sm);letter-spacing:.1em;text-transform:uppercase}
.nav a{text-decoration:none;color:var(--muted);transition:color .18s ease}
.nav a:hover{color:var(--paper)}
.site-foot{border-top:1px solid var(--line);margin-top:var(--space-9);padding-top:var(--space-7);padding-bottom:var(--space-6);font-size:var(--fs-sm);color:var(--muted)}
.foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:var(--space-7)}
.foot-brand{font-family:var(--font-head);font-size:var(--fs-md);letter-spacing:.06em;text-transform:uppercase;color:var(--paper);margin-bottom:var(--space-3)}
.foot-about p{font-size:var(--fs-sm);max-width:42ch}
.foot-head{font-family:var(--font-head);font-size:var(--fs-xs);letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin-bottom:var(--space-3)}
.foot-col a{display:block;text-decoration:none;color:var(--muted);margin-bottom:var(--space-2)}
.foot-col a:hover{color:var(--paper)}
.foot-base{border-top:1px solid var(--line);margin-top:var(--space-6);padding-top:var(--space-4)}
.foot-base p{font-size:var(--fs-xs);line-height:1.6;max-width:80ch}


/* ---------- 3. hero / file strip ---------- */
.filestrip{
  font-family:var(--font-head);
  font-size:12px;
  font-weight:500;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--accent);
  border-top:2px solid var(--primary);
  padding-top:var(--space-3);
  margin:0 0 var(--space-6);
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-2) var(--space-5);
}
.filestrip span{color:var(--muted)}
.hero{padding:var(--space-8) 0 var(--space-7)}
.hero h1{border-left:3px solid var(--primary);padding-left:var(--space-5);margin-bottom:var(--space-5)}
.lede{font-size:var(--fs-md);color:var(--muted);max-width:62ch;margin-bottom:var(--space-6)}
.keyfacts{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);margin:0 0 var(--space-6);padding:0;list-style:none}
.keyfacts li{background:var(--surface);padding:var(--space-4) var(--space-5);margin:0}
.keyfacts dt,.kf-label{font-family:var(--font-head);font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);display:block;margin-bottom:var(--space-2)}
.keyfacts .kf-value{font-family:var(--font-head);font-size:var(--fs-lg);color:var(--paper);line-height:1.2;font-variant-numeric:tabular-nums}
.keyfacts .kf-note{font-size:var(--fs-xs);color:var(--muted);margin:0}

/* ---------- 4. section header ---------- */
.section{padding:var(--space-8) 0;border-top:1px solid var(--line)}
.section:first-of-type{border-top:0}
.eyebrow{font-family:var(--font-head);font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--primary);margin:0 0 var(--space-3)}
.section-intro{color:var(--muted);max-width:64ch;margin-bottom:var(--space-6)}

/* ---------- 5. entry cards (D 卡片拼图) ---------- */
.entries{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--space-4)}
.entry{display:block;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:var(--space-5);text-decoration:none;transition:transform .18s ease,border-color .18s ease}
.entry:hover{transform:translateY(-1px);border-color:rgb(var(--archive-red-rgb) / .55);color:var(--text)}
.entry-main{grid-column:span 2;display:flex;flex-direction:column;justify-content:space-between;min-height:240px}
.entry-tag{font-family:var(--font-head);font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);display:block;margin-bottom:var(--space-3)}
.entry h3{margin-bottom:var(--space-2);font-size:var(--fs-lg)}
.entry p{font-size:var(--fs-sm);color:var(--muted);margin:0;max-width:46ch}
.entry-go{font-family:var(--font-head);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase;color:var(--primary);margin-top:var(--space-4);display:inline-block}
.entry-list{display:contents}
.entry-list .entry{min-height:0}

/* ---------- 6. fact table ---------- */
.facts{width:100%;border-collapse:collapse;font-size:var(--fs-sm);margin:0 0 var(--space-4)}
.facts caption{text-align:left;font-family:var(--font-head);font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);padding-bottom:var(--space-3)}
.facts th,.facts td{text-align:left;padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--line);vertical-align:top}
.facts th{width:34%;font-family:var(--font-head);font-weight:500;font-size:var(--fs-xs);letter-spacing:.1em;text-transform:uppercase;color:var(--accent)}
.facts td{color:var(--text)}
.facts tr:last-child th,.facts tr:last-child td{border-bottom:0}
.src{font-size:var(--fs-xs);color:var(--muted);display:inline-block;margin-left:var(--space-2);font-family:var(--font-head);letter-spacing:.06em}
.src a{color:var(--muted)}
.src a:hover{color:var(--accent)}
.verified{font-family:var(--font-head);font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);border:1px solid rgb(var(--accent-rgb) / .45);padding:1px 6px;white-space:nowrap}

/* ---------- 7. buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:var(--space-2);height:46px;padding:0 var(--space-5);border-radius:var(--radius);border:1px solid var(--primary);background:var(--primary);color:var(--paper);font-family:var(--font-head);font-size:var(--fs-sm);font-weight:600;letter-spacing:.08em;text-transform:uppercase;text-decoration:none;cursor:pointer;transition:background .18s ease,transform .18s ease}
.btn:hover{background:var(--archive-red-deep);color:var(--paper);transform:translateY(-1px)}
.btn-ghost{background:transparent;border-color:var(--line);color:var(--text)}
.btn-ghost:hover{background:transparent;border-color:var(--accent);color:var(--accent)}
.btn-row{display:flex;flex-wrap:wrap;gap:var(--space-3);margin-top:var(--space-5);margin-bottom:var(--space-5)}


/* ---------- 8. numbered list (E) ---------- */
.steps{list-style:none;margin:0;padding:0;display:grid;gap:var(--space-5)}
.steps li{display:grid;grid-template-columns:64px 1fr;gap:var(--space-5);padding-bottom:var(--space-5);border-bottom:1px solid var(--line);margin:0}
.steps li:last-child{border-bottom:0;padding-bottom:0}
.steps .num{font-family:var(--font-head);font-size:var(--fs-2xl);line-height:1;color:rgb(var(--accent-rgb) / .35);font-variant-numeric:tabular-nums}
.steps h3{margin-bottom:var(--space-2);font-size:var(--fs-md)}
.steps p{font-size:var(--fs-sm);color:var(--muted);margin:0}

/* ---------- 9. timeline (H) ---------- */
.timeline{list-style:none;margin:0;padding:0;border-left:1px solid var(--line)}
.timeline li{position:relative;padding:0 0 var(--space-6) var(--space-6);margin:0}
.timeline li::before{content:"";position:absolute;left:-4px;top:.55em;width:7px;height:7px;background:var(--primary);border-radius:0}
.timeline time{display:block;font-family:var(--font-head);font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin-bottom:var(--space-2)}
.timeline h3{font-size:var(--fs-md);margin-bottom:var(--space-2)}
.timeline p{font-size:var(--fs-sm);color:var(--muted);margin:0 0 var(--space-2)}

/* Breadcrumb navigation */
.crumbs{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--space-2);font-family:var(--font-head);font-size:12px;letter-spacing:.14em;text-transform:uppercase;margin:0 0 var(--space-4);color:var(--muted)}
.crumbs a{color:var(--muted);text-decoration:none}
.crumbs a:hover{color:var(--accent)}
.crumbs .sep{color:rgb(var(--archive-red-rgb) / .8)}
.crumbs span[aria-current]{color:var(--paper)}

/* ---------- 10. prose / chapters ---------- */
.prose{max-width:72ch}
.prose h2{margin-top:var(--space-8);padding-top:var(--space-6);border-top:1px solid var(--line)}
.prose h2::before{content:"";display:block;width:28px;height:3px;background:var(--primary);margin-bottom:var(--space-4)}
.prose h2:first-child{margin-top:0;padding-top:0;border-top:0}
.prose h3{margin-top:var(--space-6);font-size:var(--fs-md)}
.prose ul,.prose ol{font-size:var(--fs-base)}
.prose li{margin-bottom:var(--space-3)}
.prose blockquote{margin:var(--space-5) 0;padding:var(--space-4) var(--space-5);border-left:2px solid var(--accent);background:var(--surface);font-size:var(--fs-sm);color:var(--muted)}
.prose blockquote p:last-child{margin:0}
.prose table{width:100%;border-collapse:collapse;font-size:var(--fs-sm);margin:var(--space-5) 0}
.prose th,.prose td{text-align:left;padding:var(--space-3);border-bottom:1px solid var(--line);vertical-align:top}
.prose th{font-family:var(--font-head);font-size:var(--fs-xs);letter-spacing:.1em;text-transform:uppercase;color:var(--accent);font-weight:500}

/* chapter list */
.chapters{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.chapters li{display:grid;grid-template-columns:auto 1fr auto;align-items:baseline;gap:var(--space-4);padding:var(--space-4) 0;border-bottom:1px solid var(--line);margin:0}
.chapters .ch-no{font-family:var(--font-head);font-size:var(--fs-xs);letter-spacing:.14em;color:var(--primary);text-transform:uppercase;min-width:58px}
.chapters .ch-name{font-family:var(--font-head);font-size:var(--fs-md);color:var(--paper)}
.chapters .ch-note{font-size:var(--fs-xs);color:var(--muted);text-align:right}

/* ---------- 11. FAQ ---------- */
.faq{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line);padding:var(--space-4) 0}
.faq summary{font-family:var(--font-head);font-size:var(--fs-md);font-weight:500;color:var(--paper);cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:var(--space-4);align-items:baseline}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:var(--fs-lg);color:var(--primary);line-height:1}
.faq details[open] summary::after{content:"–"}
.faq details p{margin:var(--space-3) 0 0;font-size:var(--fs-sm);color:var(--muted);max-width:70ch}

/* ---------- 12. sources ---------- */
.sources{list-style:none;margin:0;padding:0;font-size:var(--fs-sm)}
.sources li{padding:var(--space-3) 0;border-bottom:1px solid var(--line);margin:0}
.sources li:last-child{border-bottom:0}
.sources a{word-break:break-word}
.sources .src-note{display:block;color:var(--muted);font-size:var(--fs-xs)}
.note-box{border:1px solid var(--line);border-left:2px solid var(--accent);background:var(--surface);padding:var(--space-4) var(--space-5);font-size:var(--fs-sm);color:var(--muted);margin:var(--space-5) 0}
.note-box p:last-child{margin:0}


/* ---------- 13. reactions & share ---------- */
.reactions{display:flex;flex-wrap:wrap;gap:var(--space-3);align-items:center;margin:var(--space-5) 0 0}
.react{display:inline-flex;align-items:center;gap:var(--space-2);height:42px;padding:0 var(--space-4);background:transparent;border:1px solid var(--line);border-radius:var(--radius);color:var(--muted);font-family:var(--font-head);font-size:var(--fs-xs);letter-spacing:.1em;text-transform:uppercase;cursor:pointer;transition:color .18s ease,border-color .18s ease}
.react:hover{color:var(--text);border-color:var(--muted)}
.react[aria-pressed="true"]{color:var(--paper);border-color:var(--primary);background:rgb(var(--archive-red-rgb) / .16)}
.react svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6}
.react[aria-pressed="true"] svg{fill:var(--primary);stroke:var(--primary)}
.share-note{font-size:var(--fs-xs);color:var(--muted);margin:var(--space-3) 0 0}

/* ---------- 14. comments ---------- */
.comments-head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-4);margin-bottom:var(--space-5)}
.comments-head h2{margin:0}
.comments-invite{font-size:var(--fs-sm);color:var(--muted);margin:0 0 var(--space-5);max-width:62ch}
.comment-form{display:grid;gap:var(--space-3);max-width:640px;margin-bottom:var(--space-7)}
.comment-form label{font-family:var(--font-head);font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);display:block;margin-bottom:var(--space-2)}
.comment-form input,.comment-form textarea{width:100%;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);color:var(--text);font-family:var(--font-body);font-size:var(--fs-sm);padding:var(--space-3) var(--space-4);line-height:1.5}
.comment-form textarea{min-height:110px;resize:vertical}
.comment-form input:focus,.comment-form textarea:focus{border-color:var(--primary);outline:none}

/* ---------- 15. footer misc + mobile ---------- */
.page-head{padding:var(--space-8) 0 var(--space-6)}
.page-head h1{max-width:22ch}
.page-head .lede{margin-bottom:0}
.meta-line{font-family:var(--font-head);font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:var(--space-4)}
.meta-line span{color:var(--accent)}
@media (max-width:860px){
  .foot-grid{grid-template-columns:1fr 1fr;gap:var(--space-6)}
  .foot-about{grid-column:1 / -1}
}
@media (max-width:720px){
  :root{--fs-base:16px;--fs-md:18px;--fs-lg:20px;--fs-xl:24px}
  .hero{padding:var(--space-5) 0 var(--space-4)}
  .hero h1{padding-left:var(--space-4);margin-bottom:var(--space-4);font-size:2rem}
  .lede{font-size:var(--fs-base);margin-bottom:var(--space-5)}
  .btn-row{margin-top:0}
  .keyfacts{grid-template-columns:1fr;margin-top:var(--space-5)}
  .keyfacts li{padding:var(--space-3)}
  .keyfacts .kf-value{font-size:var(--fs-md)}
  .keyfacts .kf-note{display:none}
  .entries{grid-template-columns:1fr}
  .entry-main{grid-column:auto;min-height:0}
  .entry-list{display:block}
  .entry-list .entry{margin-top:var(--space-4)}
  .prose p{line-height:1.6;max-width:100%}
  .prose h2{margin-top:var(--space-7)}
  .head-inner{min-height:58px;gap:var(--space-3);flex-wrap:wrap;padding-block:var(--space-2)}
  .nav{gap:var(--space-4);font-size:12px;letter-spacing:.08em;overflow-x:auto;-webkit-overflow-scrolling:touch;width:100%;padding-bottom:2px}
  .nav a{white-space:nowrap}
  .steps li{grid-template-columns:44px 1fr;gap:var(--space-4)}
  .steps .num{font-size:var(--fs-xl)}
  .chapters li{grid-template-columns:1fr;gap:var(--space-1)}
  .chapters .ch-note{text-align:left}
  .section{padding:var(--space-7) 0}
  .facts th,.facts td{padding:var(--space-3) var(--space-2)}
  .facts th{width:38%}
}

/* Veronica Files — Rockfort field archive */
.archive-skin {
  color-scheme: dark;
  background: var(--bg);
  color: var(--text);
}
.archive-skin .wrap { width: 100%; max-width: 1376px; padding-inline: var(--gutter); }
.archive-skin :focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.archive-skin [hidden] { display: none !important; }
.archive-skin ::selection { background: var(--archive-red-deep); color: var(--paper); }
.archive-skin h1, .archive-skin h2, .archive-skin h3 { color: var(--paper); font-weight: 600; word-spacing: normal; }
.archive-skin #main, .archive-skin [id="sources"], .archive-skin [id="faq"], .archive-skin .vf-file-body [id] { scroll-margin-top: var(--jump) !important; }
.archive-skin .skip:focus { position: fixed; top: 12px; left: 16px; background: var(--accent); color: var(--bg); font-weight: 700; }

.archive-topbar { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
.archive-topbar-inner { display: flex; min-height: 64px; align-items: center; gap: clamp(16px, 3vw, 44px); }
.archive-brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; color: var(--paper); text-decoration: none; }
.archive-mark {
  position: relative; display: grid; place-items: center; width: 37px; height: 34px;
  color: var(--paper); background: var(--primary);
  font: 650 21px/1 var(--font-head); letter-spacing: -.06em;
  clip-path: polygon(0 0, 72% 0, 100% 27%, 100% 100%, 0 100%);
}
.archive-mark::after { content: ""; position: absolute; inset: 3px; border-left: 1px solid var(--archive-red-light); }
.archive-brand-text { font: 600 23px/1 var(--font-head); letter-spacing: .035em; text-transform: uppercase; }
.vf-desktop-nav { display: flex; align-items: stretch; align-self: stretch; gap: clamp(14px, 2.4vw, 36px); }
.vf-desktop-nav a, .vf-source-link, .vf-mobile-nav summary, .vf-mobile-nav nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--text); text-decoration: none; font: 500 16px/1.25 var(--font-head);
}
.vf-desktop-nav a { position: relative; }
.vf-desktop-nav a::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--archive-red-light); transform: scaleX(0); transform-origin: left; transition: transform .17s ease-out; }
.vf-desktop-nav a:hover, .vf-desktop-nav a[aria-current], .vf-mobile-nav nav a[aria-current] { color: var(--paper); }
.vf-desktop-nav a:hover::after, .vf-desktop-nav a[aria-current]::after { transform: scaleX(1); }
.vf-source-link { gap: 8px; padding-left: clamp(14px, 2.2vw, 28px); border-left: 1px solid var(--line); color: var(--accent); }
.vf-source-link span { font-size: 17px; }
.vf-mobile-nav { display: none; }
.vf-mobile-nav summary, .vf-dossier summary, .vf-index summary { cursor: pointer; list-style: none; }
.vf-mobile-nav summary::-webkit-details-marker, .vf-dossier summary::-webkit-details-marker, .vf-index summary::-webkit-details-marker { display: none; }

.vf-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); border-bottom: 1px solid var(--line); }
.vf-hero-art, .vf-hero::before { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.vf-hero-art { z-index: -2; object-fit: cover; object-position: 62% 45%; filter: brightness(1.17) saturate(.87); }
.vf-hero::before {
  content: ""; z-index: -1;
  background: linear-gradient(90deg, rgb(var(--ink-rgb) / .78), rgb(var(--ink-rgb) / .45) 36%, transparent 64%),
              linear-gradient(0deg, rgb(var(--ink-rgb) / .77), transparent 25%, transparent 85%, rgb(var(--ink-rgb) / .22));
}
.vf-hero-stage { position: relative; display: grid; align-items: center; min-height: clamp(420px, 56svh, 570px); padding-block: 60px; }
.vf-hero-copy { position: relative; z-index: 1; max-width: 710px; }
.vf-hero h1 { margin: 0; text-transform: uppercase; text-wrap: initial; }
.vf-series { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; color: var(--paper); font: 600 clamp(15px, 1.7vw, 22px)/1.2 var(--font-head); letter-spacing: .26em; }
.vf-series::before { content: ""; width: 35px; height: 3px; background: var(--archive-red-light); }
.vf-title { display: block; color: var(--paper); font: 700 clamp(62px, 7.5vw, 112px)/1.02 var(--font-head); letter-spacing: -.044em; text-shadow: 0 2px 16px rgb(var(--ink-rgb) / .22); }
.vf-colon { color: var(--archive-red-light); }
.vf-lede { max-width: 48ch; margin: 22px 0 0; color: var(--text); font: 450 clamp(16px, 1.35vw, 19px)/1.62 var(--font-body); }
.vf-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.vf-action, .archive-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 47px; padding: 10px 19px; border: 1px solid var(--metal); border-radius: 1px;
  background: rgb(var(--ink-rgb) / .88); color: var(--paper); text-decoration: none; font: 500 17px/1.25 var(--font-head);
  transition: background-color .15s, border-color .15s;
}
.vf-action:hover, .archive-button:hover { color: var(--paper); background: var(--surface-up); border-color: var(--accent); }
.vf-primary { background: var(--primary); border-color: var(--archive-red-light); color: var(--paper); }
.vf-primary:hover { background: var(--archive-red-deep); border-color: var(--archive-red-light); }
.vf-play { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; }
.vf-action > span:last-child:not(.vf-play) { color: var(--accent); font: 17px/1 var(--font-label); }
.vf-frame { position: absolute; inset: 25px var(--gutter); pointer-events: none; }
.vf-frame::before, .vf-frame::after { content: ""; position: absolute; width: 18px; height: 18px; opacity: .65; }
.vf-frame::before { right: 0; top: 0; border-top: 1px solid var(--muted); border-right: 1px solid var(--muted); }
.vf-frame::after { left: 0; bottom: 0; border-bottom: 1px solid var(--muted); border-left: 1px solid var(--muted); }
.vf-location {
  position: absolute; right: var(--gutter); bottom: 23px; display: flex; align-items: center; gap: 9px; margin: 0;
  color: var(--paper); text-shadow: 0 1px 3px var(--ink); font: 600 12px/1.4 var(--font-label); letter-spacing: .075em; text-transform: uppercase;
}
.vf-art-credit { font-weight: 400; color: var(--muted); font-size: 12px; letter-spacing: .025em; }
.vf-sight { position: relative; display: inline-block; width: 14px; height: 14px; background: linear-gradient(var(--accent),var(--accent)) center / 100% 1px no-repeat, linear-gradient(var(--accent),var(--accent)) center / 1px 100% no-repeat; }
.vf-sight::after { content: ""; position: absolute; inset: 3px; border: 1px solid var(--accent); border-radius: 50%; }
.vf-saved { display: flex; align-items: center; gap: 5px; margin-top: 8px; }
.vf-saved a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; font: 600 13px/1.35 var(--font-body); }
.vf-saved button { appearance: none; min-width: 40px; min-height: 40px; border: 0; background: transparent; color: var(--muted); font-size: 21px; cursor: pointer; }
.vf-ribbon { display: inline-block; width: 9px; height: 13px; background: currentColor; clip-path: polygon(0 0,100% 0,100% 100%,50% 78%,0 100%); }

.vf-dossier-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.vf-dossier summary { display: flex; align-items: center; gap: clamp(14px, 3vw, 44px); min-height: 62px; }
.vf-dossier summary:hover { color: var(--paper); }
.vf-dossier-label { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); text-transform: uppercase; white-space: nowrap; font: 600 12px/1.4 var(--font-label); letter-spacing: .095em; }
.vf-folder-icon { display: inline-block; position: relative; width: 17px; height: 11px; border: 1px solid currentColor; margin-top: 2px; }
.vf-folder-icon::before { content: ""; position: absolute; left: -1px; top: -4px; width: 8px; height: 3px; border: 1px solid currentColor; border-bottom: 0; }
.vf-quick-facts { display: flex; flex: 1; align-items: center; justify-content: space-around; gap: 12px; }
.vf-quick-fact { display: inline-flex; align-items: baseline; gap: 9px; color: var(--muted); font: 12px/1.4 var(--font-body); }
.vf-quick-fact b { color: var(--paper); font: 600 14px/1.2 var(--font-label); }
.vf-expand { width: 15px; height: 15px; flex: none; margin-left: auto; color: var(--accent); background: linear-gradient(currentColor,currentColor) center/12px 1px no-repeat, linear-gradient(currentColor,currentColor) center/1px 12px no-repeat; }
.vf-dossier[open] .vf-expand { background-size: 12px 1px, 0 0; }
.vf-fact-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding-block: 20px 24px; border-top: 1px solid var(--line); }
.vf-fact-notes dt { color: var(--accent); font: 12px/1.4 var(--font-label); }
.vf-fact-notes dd { margin: 4px 0 0; font-size: 14px; }
.vf-fact-notes dd span { display: block; color: var(--muted); }

.section.vf-files { background: var(--bg); padding-block: clamp(30px, 3.3vw, 52px) clamp(32px, 4.4vw, 68px); border-top: 0; }
.vf-section-title { display: flex; align-items: center; gap: 20px; margin: 0 0 26px; text-transform: uppercase; font-size: clamp(26px, 2.9vw, 39px); letter-spacing: .005em; }
.vf-section-title::after { content: ""; height: 1px; width: auto; flex: 1; background: var(--line); }
.vf-files-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.vf-file {
  display: block; position: relative; padding: 21px 20px 22px; min-height: 164px;
  border: 1px solid var(--line); border-top: 2px solid var(--metal); border-radius: 2px;
  text-decoration: none; color: var(--text); background: linear-gradient(125deg,var(--surface-up),var(--surface) 75%);
  transition: background-color .16s, border-color .16s, transform .16s ease-out;
}
.vf-file::before { content: ""; position: absolute; top: -6px; left: -1px; width: 44px; height: 5px; background: var(--metal); clip-path: polygon(0 0,86% 0,100% 100%,0 100%); }
.vf-file:hover, .vf-file:focus-visible { border-color: var(--accent); transform: translateY(-3px); color: var(--paper); background: var(--surface-up); }
.vf-file:hover::before, .vf-file:focus-visible::before { background: var(--accent); }
.vf-file h3 { font-size: clamp(21px, 1.9vw, 27px); margin: 13px 0 7px; }
.vf-file p { margin: 0; color: var(--muted); font: 14px/1.5 var(--font-body); }
.vf-file-arrow { position: absolute; right: 17px; top: 13px; color: var(--muted); font-size: 19px; }
.vf-file-symbol { position: relative; display: inline-block; vertical-align: top; height: 24px; width: 29px; color: var(--accent); }
.vf-file-symbol i, .vf-file-symbol::before, .vf-file-symbol::after { position: absolute; display: block; content: ""; }
.vf-map::before, .vf-map::after, .vf-map i { top: 5px; width: 8px; height: 15px; border: 1px solid currentColor; transform: skewY(-16deg); }
.vf-map::before { left: 2px; }.vf-map i { left: 9px; transform: skewY(16deg); }.vf-map::after { left: 16px; }
.vf-puzzle::before { left: 2px; top: 3px; width: 15px; height: 18px; border: 1px solid currentColor; }
.vf-puzzle::after { left: 13px; top: 6px; width: 9px; height: 9px; border: 1px solid currentColor; background: var(--surface-up); transform: rotate(45deg); }
.vf-broadcast::before, .vf-broadcast::after { left: 0; top: 0; border: 1.5px solid currentColor; border-right-color: transparent; border-bottom-color: transparent; border-radius: 50%; transform: rotate(45deg); }
.vf-broadcast::before { width: 26px; height: 26px; }.vf-broadcast::after { left: 5px; top: 6px; width: 16px; height: 16px; }
.vf-broadcast i { left: 11px; top: 13px; width: 5px; height: 9px; border-radius: 4px 4px 0 0; background: currentColor; }
.vf-idcard::before { left: 1px; top: 3px; width: 25px; height: 17px; border: 1px solid currentColor; }
.vf-idcard::after { left: 5px; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 5px 0 -0.3px currentColor; }
.vf-idcard i { left: 14px; top: 8px; width: 7px; height: 1px; background: currentColor; box-shadow: 0 4px currentColor; }
.vf-files .wrap > p { margin: 18px 0 0; }

/* Reading pages and guide controls */
.archive-skin .page-head {
  padding-block: 25px 32px; margin-bottom: 0; border-bottom: 1px solid var(--line);
  background: linear-gradient(105deg, var(--surface), var(--bg) 72%);
}
.archive-skin .crumbs { font: 12px/1.5 var(--font-body); letter-spacing: 0; text-transform: none; margin-bottom: 22px; }
.archive-skin .crumbs .sep { color: var(--metal); }
.archive-skin .filestrip { display: flex; align-items: center; gap: 8px 18px; margin: 0 0 12px; padding: 0; border: 0; font: 12px/1.5 var(--font-label); letter-spacing: .07em; }
.archive-skin .filestrip span:first-child { color: var(--accent); }
.archive-skin .filestrip span + span { color: var(--muted); }
.archive-skin .page-head h1 { max-width: 25ch; margin: 0 0 12px; padding-left: 15px; border-left: 3px solid var(--archive-red-light); color: var(--paper); font: 600 clamp(34px, 4.9vw, 66px)/1.13 var(--font-head); }
.archive-skin .page-head .lede { margin: 0; max-width: 68ch; font: 16px/1.65 var(--font-body); }
.vf-reading-layout { padding-block: 34px 6px; }
.vf-reading-layout.vf-has-index { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 284px); gap: clamp(32px, 5.5vw, 96px); align-items: start; }
.vf-reading-column { min-width: 0; max-width: 82ch; }
.archive-skin .prose { max-width: 72ch; font-family: var(--font-body); color: var(--text); }
.archive-skin .wrap.prose { max-width: min(100%,calc(74ch + 2 * var(--gutter))); }
.archive-skin .prose p, .archive-skin .prose li { font-size: clamp(16px, 1.15vw, 18px); line-height: 1.72; }
.archive-skin .prose h2 { font-size: clamp(25px, 2.7vw, 37px); padding-top: 22px; margin: 38px 0 13px; }
.archive-skin .prose h2:first-child { margin-top: 0; padding-top: 0; }
.archive-skin .prose h2::before { display: none; }
.archive-skin .prose h3 { color: var(--accent); font-size: 23px; }
.archive-skin .prose a { color: var(--accent); text-decoration-color: var(--metal); text-underline-offset: .19em; }
.archive-skin .prose a:hover { color: var(--paper); }
.archive-skin .prose strong { color: var(--paper); font-weight: 650; }
.archive-skin .prose code { font-weight: 600; font-size: .92em; color: var(--accent); overflow-wrap: anywhere; }
.archive-skin .prose table { display: block; max-width: 100%; overflow-x: auto; font: 14px/1.6 var(--font-body); }
.archive-skin .prose table th { color: var(--accent); background: var(--surface); }
.archive-skin .prose :is(th,td) { padding: 10px 12px; }
.archive-skin .prose .sources li, .archive-skin .sources a, .archive-skin .src-note { font-family: var(--font-body); }
.archive-skin .src-note { font-size: 13px; }
.archive-skin .vf-file-body details { margin: 14px 0; border: 1px solid var(--line); background: var(--surface); }
.archive-skin .vf-file-body details > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 48px; padding: 10px 16px; color: var(--accent);
  font: 650 15px/1.5 var(--font-body); cursor: pointer; list-style: none;
}
.vf-file-body details > summary::-webkit-details-marker { display: none; }
.vf-file-body details > summary::after { content: "+"; font: 21px/1 var(--font-label); color: var(--accent); }
.vf-file-body details[open] > summary::after { content: "−"; }
.archive-skin .vf-file-body details[open] > summary { border-bottom: 1px solid var(--line); }
.archive-skin .vf-file-body details > p, .archive-skin .vf-file-body details > ol, .archive-skin .vf-file-body details > ul { margin: 10px 16px 15px; }
.archive-skin .faq summary, .archive-skin .faq details p, .archive-skin .note-box { font-family: var(--font-body); }
.archive-skin .faq summary { min-height: 40px; font-size: 16px; }
.archive-skin .faq summary::after { color: var(--accent); font-family: var(--font-label); }
.archive-skin .eyebrow, .archive-skin .foot-head { color: var(--accent); font-family: var(--font-label); }
.archive-skin .site-foot { background: var(--ink); }
.archive-skin .foot-brand { font-size: 24px; }
.archive-skin .foot-col a { min-height: 28px; }
.archive-skin .comment-form :is(textarea,input) { color: var(--text); background: var(--surface); border-color: var(--line); }
.archive-skin .note-box { max-width: 75ch; }

.vf-reader-tools { position: sticky; top: 82px; grid-column: 2; grid-row: 1; min-width: 0; padding: 0 16px 14px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--metal); }
.vf-mobile-section { display: none; }
.vf-index summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; color: var(--paper); font: 600 14px/1.3 var(--font-label); }
.vf-index summary::after { content: ""; display: block; width: 7px; height: 7px; margin-right: 2px; border: solid var(--accent); border-width: 0 1px 1px 0; transform: rotate(45deg); }
.vf-index[open] summary::after { transform: rotate(225deg); }
.vf-index nav { display: grid; max-height: min(45svh, 435px); overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--line); padding: 6px 0 8px; }
.vf-index a { display: block; border-left: 2px solid transparent; padding: 7px 10px; color: var(--muted); text-decoration: none; font: 14px/1.4 var(--font-body); }
.vf-index a:hover, .vf-index a[aria-current] { color: var(--paper); border-left-color: var(--archive-red-light); background: var(--surface-up); }
.vf-save-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 42px;
  border: 1px solid var(--metal); background: var(--surface-up); color: var(--accent); font: 600 15px/1.25 var(--font-head); cursor: pointer;
}
.vf-save-button:hover { background: var(--surface-up); border-color: var(--accent); }
.vf-save-message { margin: 0; color: var(--accent); font: 12px/1.4 var(--font-body); }
.vf-save-message:not(:empty) { margin-top: 8px; }

@media (max-width: 960px) {
  .vf-files-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
  .vf-file { min-height: 150px; }
  .vf-quick-fact { flex-direction: column; gap: 1px; }
}
@media (max-width: 760px) {
  .archive-skin { --jump: 124px; }
  .archive-topbar-inner { position: relative; min-height: 54px; gap: 16px; }
  .archive-mark { width: 31px; height: 29px; font-size: 18px; }
  .archive-brand-text { font-size: 20px; }
  .vf-desktop-nav, .vf-source-link { display: none; }
  .vf-mobile-nav { display: block; }
  .vf-mobile-nav summary { display: flex; align-items: center; gap: 9px; color: var(--paper); padding-inline: 5px; }
  .vf-menu-icon { width: 15px; height: 9px; border-block: 1px solid currentColor; }
  .vf-mobile-nav nav { position: absolute; right: var(--gutter); top: 100%; width: min(252px, calc(100vw - 2 * var(--gutter))); padding: 5px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 14px 26px rgb(var(--ink-rgb) / .42); }
  .vf-mobile-nav nav a { display: flex; padding: 10px 12px; min-height: 44px; }
  .vf-mobile-nav nav a:hover, .vf-mobile-nav nav a[aria-current] { color: var(--accent); background: var(--surface-up); }
  .vf-hero-stage { min-height: clamp(396px, 58svh, 490px); padding-block: 52px; }
  .vf-title { font-size: clamp(52px, 10vw, 77px); }
  .vf-lede { font-size: 16px; }
  .vf-location { font-size: 12px; }
  .vf-art-credit { display: none; }
  .vf-dossier summary { min-height: 55px; }
  .vf-quick-fact:nth-child(3) { display: none; }
  .vf-fact-notes { gap: 16px; }
  .vf-reading-layout.vf-has-index { display: flex; flex-direction: column; align-items: stretch; gap: 19px; padding-top: 12px; }
  .vf-reader-tools { top: 55px; z-index: 12; order: -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 6px; padding: 0 8px; border-top-width: 2px; }
  .vf-index { flex: 1; min-width: 0; }
  .vf-index-title { display: none; }
  .vf-mobile-section { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .vf-index summary::after { flex: none; }
  .vf-index summary { min-height: 44px; max-width: 17em; justify-content: flex-start; gap: 12px; padding-inline: 4px; font-size: 13px; }
  .vf-index nav { position: absolute; top: 100%; left: -1px; right: -1px; max-height: min(55svh, 410px); padding: 5px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 14px 24px rgb(var(--ink-rgb) / .42); }
  .vf-index a { display: flex; align-items: center; min-height: 44px; }
  .vf-save-button { width: auto; min-height: 40px; padding-inline: 9px; background: transparent; border-color: transparent; }
  .vf-save-message:not(:empty) { position: absolute; top: calc(100% + 5px); right: 0; max-width: 100%; margin: 0; padding: 6px 9px; color: var(--paper); background: var(--surface-up); border: 1px solid var(--metal); box-shadow: 0 3px 10px rgb(var(--ink-rgb) / .28); }
  .archive-skin .page-head { padding-block: 17px 23px; }
  .archive-skin .crumbs { margin-bottom: 15px; }
}
@media (max-width: 540px) {
  .vf-hero-stage { align-items: end; min-height: 445px; padding-block: 148px 31px; }
  .vf-hero-art { height: 80%; object-position: 77% 24%; }
  .vf-hero::before { background: linear-gradient(0deg,var(--ink) 2%,rgb(var(--ink-rgb) / .96) 17%,rgb(var(--ink-rgb) / .82) 36%,rgb(var(--ink-rgb) / .14) 72%,rgb(var(--ink-rgb) / .04)); }
  .vf-series { margin-bottom: 8px; font-size: 16px; }
  .vf-series::before { width: 24px; }
  .vf-title { font-size: clamp(44px, 12.2vw, 64px); line-height: 1.07; }
  .vf-lede { max-width: 42ch; margin-top: 11px; line-height: 1.53; }
  .vf-actions { margin-top: 17px; gap: 8px; }
  .vf-action { min-height: 45px; gap: 8px; padding: 9px 12px; font-size: 16px; }
  .vf-location { right: calc(var(--gutter) + 8px); top: 20px; bottom: auto; background: rgb(var(--ink-rgb) / .68); padding: 3px 5px; }
  .vf-frame { inset-block: 15px; }
  .vf-frame::after { display: none; }
  .vf-dossier summary { gap: 14px; }
  .vf-quick-facts { justify-content: flex-end; }
  .vf-quick-fact { flex-direction: row; align-items: baseline; gap: 6px; }
  .vf-quick-fact:nth-child(2) { display: none; }
  .vf-quick-fact b { font-size: 13px; }
  .vf-dossier-label { font-size: 12px; gap: 8px; }
  .vf-fact-notes { grid-template-columns: 1fr; }
  .vf-files-grid { gap: 15px 10px; }
  .vf-file { min-height: 0; padding: 14px 12px 15px; }
  .vf-file h3 { font-size: 21px; margin-block: 9px 6px; }
  .vf-file p { font-size: 13px; line-height: 1.43; }
  .vf-file-arrow { right: 10px; top: 8px; font-size: 17px; }
  .vf-section-title { margin-bottom: 21px; }
  .archive-skin .prose :is(th,td) { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .archive-skin *, .archive-skin *::before, .archive-skin *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .vf-file:hover, .vf-file:focus-visible { transform: none; }
}

/* Campaign route and puzzle room directory */
.vf-article:is([data-file-path="/code-veronica-walkthrough"], [data-file-path="/code-veronica-puzzles"]) .page-head {
  padding-block: 18px 25px;
}
.vf-article:is([data-file-path="/code-veronica-walkthrough"], [data-file-path="/code-veronica-puzzles"]) .crumbs {
  margin-bottom: 13px;
}
.vf-article[data-file-path="/code-veronica-puzzles"] .page-head h1 { max-width: none; }

.archive-skin .vf-file-body .vf-route-title { margin-bottom: 18px; }
.vf-campaign-route {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.archive-skin .vf-file-body .vf-stage {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--metal);
  background: linear-gradient(120deg, var(--surface-up), var(--surface) 74%);
}
.archive-skin .vf-file-body .vf-stage-switch { border-left-color: var(--archive-red-light); }
.vf-stage-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--metal);
  background: var(--bg);
  color: var(--accent);
  font: 600 21px/1 var(--font-head);
  font-variant-numeric: tabular-nums;
}
.vf-stage-switch .vf-stage-number { border-color: var(--archive-red-light); color: var(--archive-red-light); }
.archive-skin .vf-file-body .vf-stage-role {
  margin: 0 0 4px;
  color: var(--accent);
  font: 500 12px/1.3 var(--font-head);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.archive-skin .vf-file-body .vf-stage h3 {
  margin: 0 0 6px;
  color: var(--paper);
  font: 600 clamp(20px, 2.15vw, 27px)/1.15 var(--font-head);
  text-wrap: pretty;
}
.archive-skin .vf-file-body .vf-stage-body > p:not(.vf-stage-role) { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.archive-skin .vf-file-body .vf-guide-jump {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  max-width: 100%;
  font: 550 16px/1.25 var(--font-head);
}
.vf-guide-jump span { flex: none; }
.vf-gameplay { max-width: 620px; margin: 1.25rem 0; }
.vf-gameplay-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 12px;
  margin: 1.25rem 0;
}
.vf-gameplay-pair .vf-gameplay { margin: 0; }
.vf-gameplay-shot {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
}
.vf-gameplay-shot > img { width: 100%; height: auto; }
.vf-gameplay-target {
  position: absolute;
  inset: var(--point-y) auto auto var(--point-x);
  width: var(--point-size, 10%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 2px solid #ffe18a;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgb(15 19 13 / .8);
  pointer-events: none;
}
.vf-gameplay-target::before {
  content: "";
  position: absolute;
  right: 100%;
  top: calc(50% - 5px);
  border: 5px solid transparent;
  border-right: 0;
  border-left: 8px solid #ffe18a;
}
.vf-gameplay-target::after {
  content: "";
  position: absolute;
  right: calc(100% + 6px);
  top: calc(50% - 1px);
  width: clamp(10px, 2.5vw, 23px);
  height: 2px;
  background: #ffe18a;
  box-shadow: 0 1px 2px #10130e;
}
.vf-gameplay-instruction {
  position: absolute;
  inset: auto 0 0;
  padding: 8px 11px;
  border-inline-start: 3px solid #ffe18a;
  background: rgb(14 17 12 / .94);
  color: var(--paper);
  font: 550 clamp(14px, 1.6vw, 18px)/1.35 var(--font-head);
}
.vf-gameplay-shot--cue-top .vf-gameplay-instruction { inset: 0 0 auto; }
.vf-gameplay figcaption {
  margin-top: 6px;
  color: var(--muted);
  font: 400 13px/1.5 var(--font-body);
}
.vf-handoff {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 17px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--archive-red-light);
  background: var(--surface);
}
.vf-handoff-mark {
  position: relative;
  flex: none;
  width: 20px;
  height: 16px;
  margin-top: 4px;
  border: 1px solid var(--accent);
  background: linear-gradient(var(--accent),var(--accent)) center / 10px 1px no-repeat;
}
.vf-handoff-mark::before, .vf-handoff-mark::after { content: ""; position: absolute; width: 5px; height: 4px; bottom: 2px; border: 1px solid var(--accent); }
.vf-handoff-mark::before { left: 2px; }
.vf-handoff-mark::after { right: 2px; }
.archive-skin .vf-file-body .vf-handoff strong { font: 600 18px/1.1 var(--font-head); }
.archive-skin .vf-file-body .vf-handoff p { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.vf-release {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(15px, 3.4vw, 29px);
  border: 1px solid rgb(var(--accent-rgb) / .34);
  border-left: 3px solid var(--archive-red-light);
  background: var(--ink);
}
.vf-release-scene {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% 45%;
}
.vf-release::before,
.vf-release::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.vf-release::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgb(10 12 10 / .98), rgb(10 12 10 / .73) 55%, rgb(10 12 10 / .3)),
    linear-gradient(0deg, rgb(10 12 10 / .96), transparent 72%);
}
.vf-release::after {
  z-index: -1;
  opacity: 0;
  background: linear-gradient(110deg, transparent 35%, rgb(245 127 83 / .22) 49%, rgb(255 214 149 / .5) 51%, transparent 62%);
}
.archive-skin .prose .vf-release h2 {
  margin: 0 0 17px;
  padding: 0;
  border: 0;
  font-size: clamp(27px, 4vw, 42px);
  line-height: 1.1;
  scroll-margin-top: 7.5rem;
}
.vf-release-window { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 23px; }
.vf-release-date {
  color: var(--accent);
  font: 600 clamp(37px, 6vw, 60px)/1 var(--font-head);
  font-variant-numeric: tabular-nums;
}
.vf-release[data-release-dated] .vf-release-date { font-size: clamp(21px, 4vw, 32px); line-height: 1.2; }
.archive-skin .prose .vf-release-window p {
  flex: 1 1 218px;
  margin: 0;
  color: var(--paper);
  font-size: 15px;
  line-height: 1.55;
}
.archive-skin .prose .vf-release-demo:not([hidden]) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 9px;
  margin: 22px 0 0;
  color: var(--paper);
  font: 500 14px/1.45 var(--font-head);
}
.archive-skin .prose .vf-release-demo strong {
  padding: 2px 7px;
  border: 1px solid rgb(var(--accent-rgb) / .48);
  background: rgb(10 12 10 / .85);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.vf-release-clock:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(5px, 1.4vw, 12px);
  margin-top: 17px;
}
.vf-release-demo:not([hidden]) + .vf-release-clock:not([hidden]) { margin-top: 9px; }
.vf-release-clock > div {
  overflow: hidden;
  padding: 12px 2px 11px;
  border: 1px solid rgb(var(--accent-rgb) / .29);
  border-top-color: rgb(var(--accent-rgb) / .67);
  background: linear-gradient(163deg, rgb(41 31 26 / .95), rgb(13 15 12 / .94) 75%);
  text-align: center;
}
.vf-release-clock > div:last-child {
  border-top-color: var(--archive-red-light);
  background: linear-gradient(163deg, rgb(81 31 24 / .91), rgb(18 14 12 / .96) 75%);
}
.vf-release-clock strong {
  display: block;
  font: 600 clamp(30px, 7.4vw, 64px)/1.1 var(--font-head);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 22px rgb(244 182 118 / .33);
}
.vf-release-clock span {
  color: var(--accent);
  font: 500 clamp(10px, 2.4vw, 12px)/1.3 var(--font-head);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.vf-release-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
  align-items: center;
  margin-top: 19px;
}
.vf-release-links a { display: inline-flex; gap: 6px; align-items: center; min-height: 44px; font: 550 16px/1.3 var(--font-head); }
.archive-skin .prose .vf-release-links a:first-child {
  padding: 6px 11px;
  border: 1px solid rgb(var(--archive-red-rgb) / .8);
  background: rgb(91 31 26 / .91);
  color: var(--paper);
}
.archive-skin .prose .vf-release-links a:first-child:hover { background: rgb(120 43 34 / .95); }

@media (prefers-reduced-motion: no-preference) {
  /* One sweep on arrival. The countdown delivers the ongoing motion. */
  .vf-release[data-release-running]::after { animation: vf-release-sweep 1.5s cubic-bezier(.17, .68, .29, 1) both; }
  .vf-release[data-release-running] .vf-release-clock > div {
    animation: vf-release-cell-in 270ms cubic-bezier(.2, .75, .32, 1) both;
  }
  .vf-release[data-release-running] .vf-release-clock > div:nth-child(2) { animation-delay: 45ms; }
  .vf-release[data-release-running] .vf-release-clock > div:nth-child(3) { animation-delay: 90ms; }
  .vf-release[data-release-running] .vf-release-clock > div:nth-child(4) { animation-delay: 135ms; }
}
@keyframes vf-release-sweep {
  0% { opacity: 0; transform: translateX(-88%); }
  34% { opacity: .78; }
  100% { opacity: 0; transform: translateX(92%); }
}
@keyframes vf-release-cell-in {
  from { opacity: .36; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

.vf-room-picker {
  margin: 17px 0 30px;
  padding: 13px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--metal);
  background: var(--surface);
}
.archive-skin .vf-file-body .vf-room-lead {
  margin: 0 0 11px;
  color: var(--accent);
  font: 550 15px/1.2 var(--font-head);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.vf-room-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.archive-skin .vf-file-body .vf-room-grid li { display: flex; margin: 0; }
.archive-skin .vf-file-body .vf-room-jump {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 77px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
}
.archive-skin .vf-file-body .vf-room-jump:is(:hover,:focus-visible,[aria-current]) {
  border-color: var(--metal);
  background: var(--surface-up);
  color: var(--paper);
}
.archive-skin .vf-file-body .vf-room-jump[aria-current] { border-left: 3px solid var(--archive-red-light); padding-left: 8px; }
.vf-room-text { display: grid; gap: 5px; min-width: 0; }
.archive-skin .vf-file-body .vf-room-text strong {
  font: 550 clamp(16px, 1.6vw, 22px)/1.12 var(--font-head);
  text-wrap: pretty;
}
.vf-room-text > span { color: var(--muted); font: 12px/1.3 var(--font-body); }
.vf-room-arrow { flex: none; color: var(--accent); font: 18px/1 var(--font-head); }
.vf-room-symbol { position: relative; display: block; width: 24px; height: 21px; color: var(--accent); }
.vf-room-symbol::before, .vf-room-symbol::after { content: ""; position: absolute; }
.vf-room-terminal::before { inset: 1px 1px 5px; border: 1px solid currentColor; }
.vf-room-terminal::after {
  inset: 6px 4px 1px;
  background: linear-gradient(currentColor,currentColor) left 2px top 2px / 8px 1px no-repeat,
              linear-gradient(currentColor,currentColor) center bottom / 13px 1px no-repeat;
}
.vf-room-frame::before { inset: 0 4px; border: 1px solid currentColor; }
.vf-room-frame::after { inset: 3px 7px; border: 1px solid currentColor; }
.vf-room-gauge::before { inset: 2px 2px 0; border: 1px solid currentColor; border-radius: 50%; }
.vf-room-gauge::after { width: 7px; height: 7px; left: 9px; top: 7px; border-right: 1px solid currentColor; transform: rotate(40deg); }
.vf-room-console::before { inset: 3px 0; border: 1px solid currentColor; }
.vf-room-console::after {
  inset: 7px 5px;
  background: repeating-linear-gradient(90deg,currentColor 0 1px,transparent 1px 4px);
}

.archive-skin .vf-file-body .vf-puzzle-heading + p > strong:first-child {
  display: block;
  margin-bottom: 5px;
  color: var(--accent);
  font: 500 15px/1.35 var(--font-head);
  letter-spacing: .025em;
}
.archive-skin .vf-file-body .vf-solution { border-left: 2px solid var(--metal); }
.archive-skin .vf-file-body .vf-solution[open] { border-left-color: var(--archive-red-light); }
.archive-skin .vf-file-body .vf-solution > summary:hover { background: var(--surface-up); }
.archive-skin .vf-file-body .vf-solution > summary { min-height: 50px; font: 550 17px/1.35 var(--font-head); }
.archive-skin .vf-file-body .vf-code-readout {
  display: inline-block;
  max-width: 100%;
  padding: 2px 7px;
  background: var(--ink);
  border: 1px solid var(--line);
  color: var(--paper);
  font-size: 1em;
  letter-spacing: .07em;
}
.archive-skin .vf-file-body .vf-input-sequence {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
  padding: 0;
  list-style: none;
}
.archive-skin .vf-file-body .vf-input-sequence li {
  display: grid;
  place-items: center;
  min-width: 33px;
  min-height: 36px;
  margin: 0;
  padding: 3px 8px;
  border: 1px solid var(--metal);
  border-bottom-width: 2px;
  background: var(--ink);
  color: var(--accent);
  font: 550 17px/1.15 var(--font-head);
  font-variant-numeric: tabular-nums;
}
.archive-skin .vf-file-body .vf-portrait-order li::marker { color: var(--accent); font-weight: 600; }

@media (max-width: 550px) {
  .vf-campaign-route { grid-template-columns: 1fr; }
  .archive-skin .vf-file-body .vf-stage { padding: 10px; gap: 10px; }
  .archive-skin .vf-file-body .vf-stage h3 { font-size: 22px; }
  .vf-room-picker { padding: 9px; }
  .archive-skin .vf-file-body .vf-room-jump {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 4px;
    align-content: start;
    padding: 8px;
  }
  .archive-skin .vf-file-body .vf-room-jump[aria-current] { padding-left: 6px; }
  .vf-room-symbol { grid-column: 1; grid-row: 1; width: 21px; height: 19px; }
  .vf-room-text { grid-column: 1 / -1; grid-row: 2; }
  .vf-room-arrow { grid-column: 2; grid-row: 1; }
}
