/* ==========================================================================
   ART NOUVEAU — one page. Loaded on a/art-nouveau.html.

   Founder, 2026-09-26: the page is Annie's Claude artifact, shell excepted
   (its side panel and toolbar are not ported; the shell's rail and action
   bar stay). One arched lithograph sheet on the teal ground; the hero and
   the record are its two halves (.an-sheet--top, .an-sheet--rec), joined
   without a seam. The line that encloses every heading is drawn by
   art-nouveau.js. Every rule is scoped to .an-page / .an-stage / .an-rec;
   the shell is never restyled.

   Layout reads the width of the shell's main column, not the viewport:
   .an-stage and .an-rec are inline-size containers named "an".

   Colour. The record's colours "as built" (listed first: the record's
   Colour row reads the first eight hex values in this file): #F2EAD8 #2A2620 #2F5D50 #B08D4A
   #B4737A #55503F #5E5647 #8A4650. Page values added with the artifact
   (flat lithographic tints; not part of the record's palette):
   paper-2 #EADFC6 · ochre #D6AE56 · sage #8FA67F · sage-2 #C9D2B1 ·
   orange #C47A4B (in the figure drawing) · rose tint #E8C9C0 ·
   plum-d #7E3F49 (plum darkened for headings on tints, WCAG AA).
   Contrast, body sizes: ink/paper 12.6 · paper/plum 5.7 · #1F2A20/sage 5.6 ·
   plum/paper 5.7 · plum-d/sage-2 5.0 · plum-d/rose tint 5.0 ·
   umber/paper 6.1 · #7A6128/paper 4.9 · paper/teal 6.3.
   ========================================================================== */

@font-face { font-family: "Federo AN"; src: url("fonts/federo.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Sorts Mill Goudy AN"; src: url("fonts/sorts-mill-goudy.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Sorts Mill Goudy AN"; src: url("fonts/sorts-mill-goudy-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

.an-page {
  --an-paper: #F2EAD8;
  --an-paper-2: #EADFC6;
  --an-ink: #2A2620;
  --an-line: #2F5D50;
  --an-gold: #B08D4A;
  --an-ochre: #D6AE56;
  --an-sage: #8FA67F;
  --an-sage-2: #C9D2B1;
  --an-rose: #B4737A;
  --an-rose-t: #E8C9C0;
  --an-plum: #8A4650;
  --an-plum-d: #7E3F49;
  --an-umber: #5E5647;
  --an-rule: rgba(47, 93, 80, .35);
  --an-display: "Federo AN", "Marcellus", Georgia, serif;
  --an-text: "Sorts Mill Goudy AN", "Goudy Bookletter 1911", Georgia, "Times New Roman", serif;
}
.an-page main { background: var(--an-line); color: var(--an-ink); overflow-x: clip; }

.an-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }

/* ---- the stage and the sheet ------------------------------------------- */
.an-stage, .an-rec { container: an / inline-size; padding-inline: clamp(12px, 4vw, 56px); }
.an-stage { padding-top: clamp(28px, 5vw, 72px); }
.an-rec { padding-bottom: clamp(40px, 6vw, 80px); }
/* The record is the lower half of the hero's sheet and the line is measured
   across both: it must not ride the shell's section reveal (site.css). */
.an-page main > .an-rec { opacity: 1; transform: none; transition: none; }

.an-sheet {
  --rail: 34px; --inset: 118px; --pr: 72px;
  --arch: min(420px, 39cqw);
  position: relative; max-width: 1080px; margin: 0 auto;
  background: var(--an-paper); color: var(--an-ink);
  font-family: var(--an-text); -webkit-font-smoothing: antialiased;
  padding: 0 var(--pr) 0 var(--inset);
}
.an-sheet--top { border-radius: 50% 50% 0 0 / var(--arch) var(--arch) 0 0; padding-bottom: 1px; }
.an-sheet--rec { padding-bottom: 230px; }
.an-sheet a { color: inherit; }

/* the stone's edge: a second pull of the paper and one gold line, drawn
   outside each half and open at the join so the two halves read as one */
.an-ring { position: absolute; pointer-events: none; border: 1px solid var(--an-gold); }
.an-ring::before { content: ""; position: absolute; inset: 0; border: 10px solid var(--an-paper-2); border-radius: inherit; }
.an-ring--top, .an-ring--top::before { border-bottom: 0; }
.an-ring--rec, .an-ring--rec::before { border-top: 0; }
.an-ring--top { inset: -11px -11px 0 -11px; border-radius: 50% 50% 0 0 / calc(var(--arch) + 11px) calc(var(--arch) + 11px) 0 0; }
.an-ring--top::before { border-radius: 50% 50% 0 0 / calc(var(--arch) + 10px) calc(var(--arch) + 10px) 0 0; }
.an-ring--rec { inset: 0 -11px -11px -11px; }

/* the one line (drawn by art-nouveau.js over both halves) */
.an-vine { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; overflow: visible; }
.an-vine path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.an-vine .an-band-edge { stroke: var(--an-line); stroke-width: 9; }
.an-vine .an-band { stroke: var(--an-ochre); stroke-width: 4.2; }
.an-sprout { position: absolute; pointer-events: none; z-index: 2; }

/* ---- hero -------------------------------------------------------------- */
.an-hero { position: relative; margin: 0 calc(-1 * var(--pr) + 10px) 0 calc(-1 * var(--inset) + 10px); padding-top: 18px; text-align: center; }
.an-hero__art { display: block; width: 100%; max-width: 760px; height: auto; margin: 0 auto; }
.an-hero__title { font-family: var(--an-display); }
/* the halo's two rings draw themselves once, at the pace of a hand */
@media (prefers-reduced-motion: no-preference) {
  .an-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: an-draw 2.6s cubic-bezier(.45, .05, .3, 1) .3s forwards; }
  .an-draw--2 { animation-delay: .8s; }
  @keyframes an-draw { to { stroke-dashoffset: 0; } }
}
.an-sheet .an-register {
  display: inline-block; position: relative; margin: -6px auto 0; padding: 14px 42px 16px; max-width: 100%;
  background: var(--an-line); color: var(--an-paper);
  font-family: var(--an-display); font-size: clamp(15px, 1.9cqw, 19px); letter-spacing: .06em; line-height: 1.3;
  clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 18px 100%, 0 50%);
}

/* the hero figure is generated: said beside it, not only in the standing panel */
.an-sheet .an-gen { margin: 12px auto 0; max-width: 36em; font-style: italic; font-size: 15px; line-height: 1.45; color: var(--an-umber, #5E5647); }

/* ---- sections: headings enclosed by the line (rank by enclosure) ------- */
.an-sec { position: relative; padding-top: 120px; }
.an-loop { display: inline-block; max-width: 100%; padding: 18px 26px 20px 8px; position: relative; z-index: 4; }
.an-eyebrow { display: block; font-style: italic; font-size: 17px; color: var(--an-plum); margin: 0 0 2px; }
.an-loop h2 { margin: 0; font-family: var(--an-display); font-weight: 400; font-size: clamp(30px, 5cqw, 52px); line-height: 1.02; color: var(--an-line); letter-spacing: .01em; }
.an-sheet p { font-size: 18.5px; line-height: 1.62; max-width: 36em; margin: 18px 0 0; }
.an-sheet .an-lede { font-size: 21px; line-height: 1.5; max-width: 34em; margin-top: 28px; }
.an-sheet b { font-weight: 400; font-family: var(--an-display); color: var(--an-line); }
.an-sheet h3 { font-family: var(--an-text); font-style: italic; font-weight: 400; font-size: 17px; color: var(--an-plum); margin: 0 0 10px; line-height: 1.3; letter-spacing: 0; text-transform: none; }

/* flat-colour stones (poster-shaped panels) */
.an-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 38px; max-width: 820px; }
.an-plate { margin: 0; }
.an-stone { border: 3px solid var(--an-line); border-radius: 200px 200px 6px 6px / 120px 120px 6px 6px; overflow: hidden; background: var(--an-sage-2); }
.an-stone--paper { background: var(--an-paper-2); }
.an-stone--white { background: #FBF8F1; }
.an-stone svg { display: block; width: 100%; height: auto; }
.an-svgtext { font-family: var(--an-text); }
.an-plate figcaption { font-style: italic; font-size: 16px; line-height: 1.5; margin-top: 14px; color: var(--an-umber); max-width: 24em; }
.an-plate figcaption b { font-style: normal; font-size: 17px; }
.an-plate--text { align-self: center; font-size: 18px; line-height: 1.55; max-width: 26em; }
.an-plate--text p { margin: 0; }

/* ---- the particulars --------------------------------------------------- */
.an-particulars { margin: 40px 0 0; max-width: 780px; border-top: 2px solid var(--an-line); }
.an-particulars div { display: grid; grid-template-columns: minmax(150px, 210px) 1fr; border-bottom: 1px solid var(--an-rule); }
.an-particulars dt, .an-particulars dd { margin: 0; padding: 14px 0; font-size: 18px; line-height: 1.45; }
.an-particulars dt { font-family: var(--an-display); color: var(--an-line); font-size: 18.5px; padding-right: 20px; }
.an-cartouches { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; max-width: 820px; }
.an-cartouche { position: relative; padding: 26px 28px 28px; background: var(--an-sage-2); border: 3px solid var(--an-line); border-radius: 6px 60px 6px 60px; }
.an-cartouche--rose { background: var(--an-rose-t); }
.an-sheet .an-cartouche h3 { color: var(--an-plum-d); }
.an-sheet .an-cartouche p { margin: 0; font-size: 17.5px; }

/* ---- the argument: a poster within the poster -------------------------- */
.an-thesis {
  position: relative; margin-top: 40px; max-width: 820px; background: var(--an-sage); color: #1F2A20;
  border: 3px solid var(--an-line); border-radius: 420px 420px 8px 8px / 200px 200px 8px 8px;
  padding: 222px clamp(28px, 6cqw, 80px) 56px; text-align: center;
}
.an-emblem { position: absolute; left: 50%; top: 22px; width: 140px; margin-left: -70px; }
.an-sheet .an-thesis p { position: relative; z-index: 1; margin: 0 auto; padding: 0 70px; font-style: italic; font-size: clamp(21px, 2.6cqw, 27px); line-height: 1.45; max-width: 24em; }
.an-tlily { position: absolute; bottom: -3px; width: 96px; height: auto; z-index: 0; }
.an-tlily--l { left: 18px; }
.an-tlily--r { right: 18px; transform: scaleX(-1); }
.an-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 36px; max-width: 820px; }
.an-three .an-note { border-top: 3px solid var(--an-line); padding-top: 14px; }
.an-sheet .an-three .an-note p, .an-sheet .an-notes .an-note p { margin: 0; font-size: 17px; }

/* ---- recognition ------------------------------------------------------- */
.an-details { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; max-width: 820px; }
.an-details img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border: 3px solid var(--an-line); border-radius: 80px 80px 4px 4px / 60px 60px 4px 4px; background: var(--an-paper-2); }
.an-diagnostic { position: relative; margin: 40px 0 0; max-width: 820px; background: var(--an-plum); color: var(--an-paper); border: 3px solid var(--an-line); border-radius: 60px 6px 60px 6px; padding: 40px clamp(28px, 5cqw, 64px); }
.an-sheet .an-diagnostic p { margin: 0; max-width: none; font-style: italic; font-size: clamp(20px, 2.4cqw, 25px); line-height: 1.5; }
.an-stylised { display: grid; grid-template-columns: 150px 1fr; gap: 26px; align-items: center; max-width: 620px; margin-top: 34px; }
.an-stylised svg { width: 150px; height: auto; display: block; }
.an-sheet .an-stylised p { margin: 0; font-size: 21px; line-height: 1.45; }
.an-sheet .an-aside { font-style: italic; color: var(--an-umber); }

/* ---- the means --------------------------------------------------------- */
.an-sheet .an-count { font-style: italic; color: var(--an-umber); margin-top: 10px; font-size: 17px; }
.an-tw { max-width: 820px; margin-top: 26px; overflow-x: auto; }
.an-tw:focus-visible { outline: 3px solid var(--an-plum); outline-offset: 3px; }
.an-means { width: 100%; border-collapse: collapse; }
.an-means th, .an-means td { text-align: left; vertical-align: top; padding: 16px 0; border-bottom: 1px solid var(--an-rule); font-size: 17.5px; line-height: 1.45; }
.an-means tr:first-child th, .an-means tr:first-child td { border-top: 2px solid var(--an-line); }
.an-means th { width: 30%; font-weight: 400; padding-right: 20px; }
.an-means th a { display: inline-block; padding-block: 2px; font-family: var(--an-display); color: var(--an-line); font-size: 19px; text-decoration-color: rgba(47, 93, 80, .4); text-underline-offset: 4px; }
.an-means th small { display: block; font-style: italic; color: var(--an-plum); font-size: 14.5px; margin-top: 2px; }
.an-means td { font-style: italic; color: var(--an-umber); }
.an-sheet .an-means td p { margin: 0; font-size: inherit; }
.an-means .an-ink { font-style: normal; color: var(--an-ink); }
.an-tags { display: flex; flex-wrap: wrap; gap: 6px 14px; font-style: normal; }
.an-swatches { display: flex; flex-wrap: wrap; gap: 14px 10px; margin: 0; padding: 0; list-style: none; font-style: normal; color: var(--an-ink); }
.an-swatch { display: grid; justify-items: center; gap: 6px; font-size: 12.5px; font-variant-numeric: lining-nums; }
.an-swatch i { display: block; width: 46px; height: 62px; border: 2px solid var(--an-line); border-radius: 23px 23px 4px 4px; background: var(--c); }
.an-asbuilt { display: block; margin-top: 10px; font-style: italic; color: var(--an-umber); }
.an-sheet .an-footnote { font-style: italic; color: var(--an-umber); font-size: 16px; margin-top: 16px; }

/* ---- rules ------------------------------------------------------------- */
.an-areas { margin-top: 34px; max-width: 820px; }
.an-area { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--an-rule); }
.an-area:first-child { border-top: 2px solid var(--an-line); }
.an-sheet .an-area h3 { margin: 0; font-family: var(--an-display); font-style: normal; font-size: 22px; color: var(--an-line); }
.an-area ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.an-area li { position: relative; padding-left: 26px; font-size: 18px; line-height: 1.55; }
.an-area li::before { content: ""; position: absolute; left: 1px; top: .3em; width: 13px; height: 13px; border: 2px solid var(--an-line); border-radius: 0 70% 0 70%; transform: rotate(-45deg); background: var(--k); }
.an-kind { display: block; font-style: italic; font-size: 15px; color: var(--k-text, var(--an-plum)); }
.an-sheet p.an-kind { margin: 0; }
.an-k-req { --k: var(--an-line); --k-text: var(--an-line); }
.an-k-period { --k: var(--an-ochre); --k-text: #7A6128; }
.an-k-modern { --k: var(--an-sage); --k-text: var(--an-umber); }
.an-k-ours { --k: var(--an-rose); --k-text: var(--an-plum); }
.an-unres { font-style: italic; color: var(--an-plum); font-size: 15px; margin-left: .35em; }

/* ---- standing ---------------------------------------------------------- */
.an-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 30px; max-width: 820px; }
.an-notes .an-note { border-left: 3px solid var(--an-line); padding: 2px 0 2px 18px; }
.an-research { width: 100%; border-collapse: collapse; }
.an-research th, .an-research td { padding: 13px 12px 13px 0; text-align: left; border-bottom: 1px solid var(--an-rule); font-size: 17px; line-height: 1.4; font-weight: 400; }
.an-research thead th { font-style: italic; color: var(--an-plum); border-bottom: 2px solid var(--an-line); font-size: 15.5px; }
.an-research tbody th { font-family: var(--an-display); color: var(--an-line); }
.an-evnone { font-style: italic; color: var(--an-umber); }
.an-yes, .an-no { display: inline-flex; align-items: center; gap: 8px; }
.an-yes::before, .an-no::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--an-line); background: var(--an-line); }
.an-no::before { background: transparent; }

/* ---- neighbours -------------------------------------------------------- */
.an-triptych { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 38px 0 0; max-width: 820px; list-style: none; padding: 0; }
.an-triptych li { position: relative; border: 3px solid var(--an-line); border-radius: 160px 160px 6px 6px / 90px 90px 6px 6px; padding: 64px 22px 26px; background: var(--an-paper-2); text-align: center; }
.an-triptych li.an-tri--el { background: var(--an-sage-2); }
.an-triptych a, .an-triptych .an-nb { font-family: var(--an-display); font-size: 26px; color: var(--an-line); text-decoration-color: rgba(47, 93, 80, .4); text-underline-offset: 5px; }
.an-type { display: block; font-style: italic; color: var(--an-plum-d); font-size: 15px; margin: 4px 0 14px; }
.an-sheet .an-triptych p { margin: 0 auto; font-size: 16.5px; line-height: 1.55; text-align: left; }
.an-sprig { position: absolute; left: 50%; top: -58px; width: 30px; margin-left: -15px; background: var(--an-paper); padding: 0 4px; }

/* ---- exits ------------------------------------------------------------- */
.an-exits { list-style: none; margin: 34px 0 0; padding: 0; max-width: 820px; }
.an-exits li { display: grid; grid-template-columns: 260px 1fr; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--an-rule); }
.an-exits li:first-child { border-top: 2px solid var(--an-line); }
.an-exits a { font-family: var(--an-display); font-size: 22px; color: var(--an-line); text-decoration-color: rgba(47, 93, 80, .4); text-underline-offset: 5px; }
.an-exits span { font-size: 17.5px; line-height: 1.5; }
.an-sheet .an-after { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 26px; max-width: none; }
.an-after a { font-style: italic; color: var(--an-plum); font-size: 17px; text-underline-offset: 4px; }

.an-footlilies { position: absolute; left: 0; right: 0; bottom: 46px; display: flex; justify-content: center; gap: 170px; pointer-events: none; z-index: 2; }
.an-footlilies svg { width: 78px; height: auto; }
.an-flip { transform: scaleX(-1); }

.an-sheet a:focus-visible { outline: 3px solid var(--an-plum); outline-offset: 3px; border-radius: 3px; }

/* ---- the main column narrows: re-derived from the container ------------ */
@container an (max-width: 900px) {
  .an-sheet { --inset: 92px; --pr: 60px; }
  .an-sheet .an-thesis p { padding: 0 40px; }
  .an-tlily { width: 70px; }
  .an-exits li { grid-template-columns: 210px 1fr; }
}
@container an (max-width: 600px) {
  .an-sheet { --rail: 14px; --inset: 48px; --pr: 28px; --arch: 43cqw; }
  .an-sheet--rec { padding-bottom: 200px; }
  .an-hero { margin: 0 -16px 0 calc(-1 * var(--inset) + 4px); padding-top: 46px; }
  .an-hero__art { width: 94%; }
  .an-pair, .an-cartouches, .an-three, .an-notes, .an-triptych { grid-template-columns: 1fr; }
  .an-triptych { gap: 72px; }
  .an-particulars div { grid-template-columns: 1fr; }
  .an-particulars dt { padding-bottom: 0; }
  .an-area, .an-exits li { grid-template-columns: 1fr; gap: 8px; }
  .an-means tr, .an-means th, .an-means td { display: block; width: auto; }
  .an-means th { border-bottom: 0; padding-bottom: 4px; }
  .an-means td { padding-top: 0; }
  .an-means tr:first-child td { border-top: 0; }
  .an-sec { padding-top: 90px; }
  .an-loop { padding-right: 10px; max-width: calc(100% - 40px); }
  .an-loop h2 { font-size: 30px; }
  .an-sheet .an-register { padding: 12px 30px; }
  .an-tlily { display: none; }
  .an-sheet .an-thesis p { padding: 0; }
  .an-thesis { padding-top: 200px; }
  .an-details { grid-template-columns: 1fr 1fr; }
  .an-stylised { grid-template-columns: 96px 1fr; gap: 18px; }
  .an-stylised svg { width: 96px; }
  .an-footlilies { gap: 110px; }
  .an-footlilies svg { width: 54px; }
  .an-sprout { display: none; }
  .an-sheet p { font-size: 17.5px; }
  .an-sheet .an-lede { font-size: 19px; }
}
@container an (max-width: 420px) {
  .an-sheet { --pr: 30px; --inset: 42px; }
  .an-hero { margin-right: -20px; }
  .an-sheet .an-register { font-size: 13px; letter-spacing: .03em; padding: 9px 22px; }
  .an-emblem { width: 110px; margin-left: -55px; }
  .an-thesis { padding: 170px 20px 36px; border-radius: 300px 300px 8px 8px / 150px 150px 8px 8px; }
  .an-cartouche { padding: 22px 20px 24px; }
  .an-diagnostic { padding: 28px 22px; }
}

/* Provenance of the generated details (founder, 2026-09-26). */
.an-details-fig { margin: 0; }
.an-details-cap { margin-top: 10px; font-style: italic; font-size: 15px; line-height: 1.45; color: var(--an-umber, #5E5647); }
