@font-face{font-family:'Mrs Saint Delafield';src:url('assets/MrsSaintDelafield-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
/* A single typographic scale follows the physical spread. No viewport font
   minimums, clipped prose or scrollable text panels: each leaf is composed. */
.spread,dialog{--book-body:1.3cqw;--book-small:1cqw;--book-title:3.1cqw;--book-leading:1.55}
.spread a,dialog a{text-underline-offset:.28cqw;text-decoration-thickness:.045cqw}
.spread button:focus-visible,.spread a:focus-visible,dialog button:focus-visible,dialog a:focus-visible,dialog input:focus-visible{outline-offset:.3cqw}
#collection-intro{left:10%;top:28%;width:33%;height:51%;max-height:none;overflow:visible;color:var(--ink)}
#collection-intro h2{font:400 3.4cqw/1.18 'Mrs Saint Delafield',Pinyon,serif;white-space:nowrap;margin:0 0 1.05cqw;letter-spacing:0}
#collection-intro .intro-hand{font:italic 1.35cqw/1.5 Baskerville,'Iowan Old Style',Georgia,serif;margin:0 0 3.25cqw;color:var(--soft)}
#collection-intro>p.intro-copy:not(.eyebrow):not(.intro-hand){font-size:var(--book-body);line-height:1.65;margin:0 0 3.2cqw}
#collection-intro>button,#collection-intro>a{font:400 1.3cqw/1.5 Baskerville,'Iowan Old Style',Georgia,serif;min-height:0;padding:.4cqw 0;margin:.5cqw 0;text-decoration:underline;text-decoration-thickness:.04cqw;text-underline-offset:.3cqw}
#collection-intro #intro-image{position:absolute;bottom:0;font-size:1cqw;line-height:1.5;color:var(--soft);margin:0;padding:.3cqw 0;text-decoration:none}
.eyebrow{font-size:.84cqw;line-height:1.4;letter-spacing:.07em;margin:0 0 .8cqw}
#reading-leaf{left:10%;top:16%;width:33%;height:66%;gap:1cqw;grid-template-rows:minmax(0,1fr) auto}
#chapter-copy{min-height:0;overflow:visible}
#chapter-heading{font:400 var(--book-title)/1.15 'Mrs Saint Delafield',Pinyon,serif;margin:.3cqw 0 1.1cqw;overflow-wrap:normal;text-wrap:balance}
.lead{font-size:var(--book-body);line-height:1.5;margin:0 0 1.5cqw}
.leaf-prose{font-size:var(--book-body);line-height:var(--book-leading)}
.leaf-prose p{margin:0 0 1.1cqw}
.reading-note{font-size:1cqw;line-height:1.55}
.leaf-top{font:400 1cqw/1.4 Baskerville,'Iowan Old Style',Georgia,serif;min-height:0;gap:1cqw}
.leaf-top a{font:inherit}.leaf-top button{font:inherit;min-height:0;padding:.4cqw 0}
.text-action{font-size:1.1cqw;line-height:1.5;padding:.35cqw 0;margin-right:1cqw}
.inline-actions{gap:.4cqw 1cqw;margin-top:1cqw}
.chapter-pagination{font:400 1.05cqw/1.4 Baskerville,'Iowan Old Style',Georgia,serif;margin:0;gap:1cqw}
.chapter-pagination a{padding:.5cqw 0;line-height:1.4}
.chapter-pagination button{font:400 1.8cqw/1.2 'Mrs Saint Delafield',Pinyon,serif;min-height:0;min-width:2cqw;padding:.3cqw}
#right-study.object-study{left:53%;top:21%;width:33%;height:57%;gap:1.2cqw}
#right-study.collection-specimen{top:20%;height:58%}
.collection-specimen .specimen-title{font:400 3.4cqw/1.18 'Mrs Saint Delafield',Pinyon,serif;margin:0 0 1cqw;width:100%;text-align:left}
#right-study.object-study figcaption{font-size:1cqw;line-height:1.5;margin:.6cqw 0 0;max-width:32ch}
.page-number{min-height:0;padding:0}
.page-number .folio-number{font-size:1.8cqw}.page-number .folio-hint{font-size:1.1cqw}
.spine-close span{font-size:1.4cqw}.fly-target span{font-size:1.6cqw}
.page-corner{font-size:1.4cqw;min-height:0}

/* Quiet running headings and matching safe ink areas on every overlay. */
.dialog-top{left:10%;top:16%;width:76%;gap:2cqw}
.dialog-top>span,.dialog-top button{font:400 1cqw/1.4 Baskerville,'Iowan Old Style',Georgia,serif;min-height:0;padding:.3cqw 0}
dialog h2{font:400 3.1cqw/1.18 'Mrs Saint Delafield',Pinyon,serif;margin:0 0 1.2cqw}
dialog p,dialog li{font-size:var(--book-body);line-height:var(--book-leading)}
#contents-title{left:10%;top:26%;width:33%;font-size:3.4cqw;margin:0}
.dialog-intro{left:10%;top:37%;width:31%;font-size:var(--book-body);line-height:1.55;margin:0}
#contents-list{left:53%;top:26%;width:33%;height:51%;gap:1.2cqw}
.contents-item{padding:.2cqw 0;min-height:0}
.contents-item>span{font:400 2.3cqw/1.2 'Mrs Saint Delafield',Pinyon,serif}
.contents-item small{display:block;font-size:1cqw;line-height:1.5;margin:.4cqw 0 0}
.contents-item[aria-current=page]>span{text-decoration-thickness:.045cqw;text-underline-offset:.3cqw}
.source-note{left:10%;bottom:24%;width:31%;font-size:1cqw;line-height:1.55;margin:0}
#detail-body{left:10%;top:24%;width:76%;height:58%;column-count:2;column-gap:13.1578947%;overflow:visible}
#detail-body h2{font-size:3.1cqw;line-height:1.18;margin:0 0 1.2cqw;text-wrap:balance}
#detail-body p,#detail-body li{font-size:var(--book-body);line-height:var(--book-leading)}
#detail-body>p,#detail-body .source-leaf>p{margin:0 0 1.1cqw}
#detail-body ol{padding-left:1.6cqw;margin:0 0 1cqw}
#detail-body li{margin-bottom:.7cqw}
#detail-body .reading-note{font-size:1cqw;line-height:1.55}
.source-link{font-size:1.1cqw;line-height:1.5}

/* Four catalogue entries per leaf, with space reserved for the footline. */
.register-open #detail-body{top:24%;height:58%;column-count:auto;display:block;overflow:visible}
.register-open #detail-title{width:43.4210526%;font-size:3.1cqw;margin:0 0 .6cqw}
.register-intro{width:43.4210526%;font-size:1cqw!important;line-height:1.5!important;margin:0!important}
.register-find{left:56.5789474%;top:0;width:43.4210526%;font-size:1cqw;line-height:1.4;gap:.5cqw}
.register-find input{font:400 1.3cqw/1.5 Baskerville,'Iowan Old Style',Georgia,serif;padding:.5cqw 0;min-width:0;min-height:0;border-bottom-width:.045cqw;outline-offset:.3cqw}
#register-items{position:absolute;top:8cqw;bottom:3.5cqw;left:0;width:100%;height:auto;margin:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:repeat(4,minmax(0,1fr));column-gap:13.1578947%;row-gap:.4cqw}
.pattern-entry{padding:.35cqw 0;min-width:0;min-height:0;align-self:center}
.pattern-entry>span{display:block;font:400 2cqw/1.2 'Mrs Saint Delafield',Pinyon,serif;white-space:normal;overflow-wrap:normal}
.pattern-entry small{font-size:1cqw;line-height:1.4;margin:.3cqw 0 0}
.register-turn{bottom:0;font:400 1.05cqw/1.4 Baskerville,'Iowan Old Style',Georgia,serif;gap:1cqw}
.register-turn button{font:inherit;min-height:0;padding:.5cqw 0}

/* Dressing notes and editorial matter are explicitly assigned facing leaves. */
.source-open #detail-body{top:24%;height:58%;column-count:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:13.1578947%;overflow:visible}
.source-leaf{min-width:0;overflow:visible}
.source-open #detail-body h2{font-size:3.1cqw;line-height:1.18;margin:.3cqw 0 .5cqw}
.source-leaf h3{font:400 2.7cqw/1.2 'Mrs Saint Delafield',Pinyon,serif;margin:.3cqw 0 1cqw;text-wrap:balance}
.source-open #detail-body .source-subtitle{font-size:1.3cqw;line-height:1.5;margin:0 0 1.2cqw}
.dressing{font-size:1.15cqw;line-height:1.4;margin:0}
.dressing dt{margin:.55cqw 0 0;font-style:italic}
.dressing dd{margin:.1cqw 0 0}
.source-open #detail-body .source-credit{font-size:1cqw;line-height:1.5;margin:1cqw 0 0}
.source-citations{font-size:1.1cqw;line-height:1.5;gap:.5cqw 1.2cqw;margin:.7cqw 0 0}
#return-register{font:400 1.1cqw/1.5 Baskerville,'Iowan Old Style',Georgia,serif;min-height:0;padding:.4cqw 0;margin:.7cqw 0 0}
#detail-body .source-leaf>.eyebrow{font-size:.84cqw;line-height:1.4;letter-spacing:.07em;margin:0 0 .8cqw}
/* Ink remains matte; lettering itself has no raised highlight or shadow. */
#collection-intro,#reading-leaf,.dialog-top,#contents-title,#contents-list,#detail-body,.page-number,.fly-target span{text-shadow:none}

/* Transparent ink lets the actual paper modulate the strokes, without embossing. */
#collection-intro h2,#chapter-heading,.specimen-title,dialog h2,.source-leaf h3,.contents-item>span,.pattern-entry>span{
 color:rgba(63,42,25,.88);mix-blend-mode:multiply;text-shadow:none;
 font-synthesis:none;font-kerning:normal;
}

/* Fine density variation suggests ink absorbed by rag-paper fibres. */
#collection-intro h2,#chapter-heading,.specimen-title,dialog h2,.source-leaf h3,.contents-item>span,.pattern-entry>span{
 -webkit-mask-image:url('assets/csf-paper-ink-grain.svg');mask-image:url('assets/csf-paper-ink-grain.svg');
 -webkit-mask-repeat:repeat;mask-repeat:repeat;
 -webkit-mask-size:180px 90px;mask-size:180px 90px;
 color:rgba(59,39,23,.94);
}

/* Larger handwritten headings; folios and page directions share the same pen. */
.spread,dialog{--book-title:3.7cqw}
#collection-intro h2,.collection-specimen .specimen-title{font-size:3.9cqw}
dialog h2,#detail-body h2,.source-open #detail-body h2,.register-open #detail-title{font-size:3.6cqw}
.contents-item>span{font-size:2.7cqw}
.pattern-entry>span{font-size:2.55cqw}
.chapter-pagination,.chapter-pagination a,.chapter-pagination button,.page-number .folio-number,.register-turn,.register-turn button{font-family:'Mrs Saint Delafield',Pinyon,serif;font-size:1.95cqw;line-height:1.2;color:#523a25;mix-blend-mode:multiply;text-shadow:none}
#register-alphabet{position:absolute;top:6.4cqw;left:0;width:100%;display:flex;gap:.45cqw;justify-content:space-between;border-bottom:1px solid #70502c26;padding-bottom:.6cqw}
#register-alphabet button{font:400 1.45cqw Baskerville,Georgia,serif;min-width:1.8cqw;min-height:0;padding:.15cqw;color:#654c31}
#register-items{top:10.3cqw;bottom:3.8cqw}
.contents-current{display:block;font:italic 1cqw/1.5 Baskerville,serif;color:#786349}
.dialog-intro strong{display:block;font:400 3cqw/1.4 'Mrs Saint Delafield',serif;color:#513824;margin:.7cqw 0 1.3cqw}
.dialog-intro .text-action{display:block;text-decoration:underline}
.study-journey{display:flex;flex-wrap:wrap;gap:.7cqw 1.3cqw;margin-top:1.2cqw;font:400 1.2cqw Baskerville,serif}
#register-alphabet{display:grid;grid-template-columns:repeat(10,minmax(0,1fr)) 13.1578947% repeat(10,minmax(0,1fr));gap:0;border-bottom:0}
#register-alphabet button:nth-child(11){grid-column:12}
#register-position{position:absolute;left:21.7%;transform:translateX(-50%)}

/* A quiet pair of arrows belongs to the outer foot of the physical leaves. */
.page-corner{opacity:.65;bottom:12%;width:4%;height:5%;font-size:0}
.page-corner span{font-size:0}
.page-corner:after{font:400 2.2cqw/1 Baskerville,serif;color:#6c5338;content:'‹'}
.page-corner.turn-forward:after{content:'›'}
.page-corner.turn-back{left:8%;right:auto}.page-corner.turn-forward{right:12%;left:auto}
.page-corner:hover{opacity:1}
#previous-chapter,#next-chapter{visibility:hidden;pointer-events:none}
.register-turn button{font:400 2.2cqw/1 Baskerville,serif}
.register-open .page-corner{display:none}
/* Small pen-drawn arrows, with a gently uneven shaft and nib-weight variation. */
.page-corner:after{content:''!important;display:block;width:2.7cqw;height:1.5cqw;margin:auto;background:url('assets/csf-handwritten-page-arrow.svg') center/contain no-repeat;mix-blend-mode:multiply}
.page-corner.turn-forward:after{transform:scaleX(-1)}
.register-turn button{font-size:0;width:3.4cqw;min-height:2cqw;background:url('assets/csf-handwritten-page-arrow.svg') center/2.7cqw 1.5cqw no-repeat}
#register-next{transform:scaleX(-1)}
/* All live lettering is absorbed matte ink, including body copy and folios.
   Apply grain to leaf-level text, never to a container holding specimen images. */
#collection-intro,#chapter-copy,.chapter-pagination,#right-study figcaption,.dialog-top,#contents-title,.dialog-intro,#contents-list,.source-note,#detail-body,.page-number{mix-blend-mode:multiply;text-shadow:none!important;color:#57412b}
#collection-intro p,#collection-intro h2,#collection-intro button,
#chapter-copy p,#chapter-copy h1,#chapter-copy a,#chapter-copy button,
#right-study figcaption,.chapter-pagination button,
.dialog-top span,.dialog-top button,#contents-title,.dialog-intro,
.contents-item,.source-note,#detail-body h2,#detail-body h3,
#detail-body p,#detail-body dt,#detail-body dd,#detail-body li,
#detail-body label,#detail-body input,.pattern-entry,
#register-alphabet button,#register-position,.study-journey a,
#return-register,.page-number .folio-number,.page-number .folio-hint{
 -webkit-mask-image:url('assets/csf-paper-ink-grain.svg');mask-image:url('assets/csf-paper-ink-grain.svg');
 -webkit-mask-repeat:repeat;mask-repeat:repeat;
 -webkit-mask-size:180px 90px;mask-size:180px 90px;
 text-shadow:none!important;box-shadow:none;
}
/* Avoid accumulating grain on both a title and its enclosing text item. */
.contents-item>span,.pattern-entry>span{mask-image:none;-webkit-mask-image:none}
#detail-body input{background-color:transparent}

/* Live bookmark lettering follows the same matte ink as the leaves. */
.bookmark{display:flex;align-items:center;justify-content:center;padding:0 .3cqw}
.bookmark span{position:static;width:auto;height:auto;margin:0;padding:0;overflow:visible;clip-path:none;white-space:normal;text-align:center;transform:rotate(-5deg);font:400 1.8cqw/1 'Mrs Saint Delafield',serif;color:#513b25;mix-blend-mode:multiply;mask-image:url('assets/csf-paper-ink-grain.svg');mask-size:180px 90px}
.bookmark small{font:inherit;font-size:1.45cqw}
.bookmark:hover,.bookmark:focus-visible{box-shadow:none;background:#6d4a2310}
.bookmark[aria-current=page] span{text-decoration:underline;text-decoration-thickness:.04cqw;text-underline-offset:.22cqw}
#register-alphabet{grid-template-columns:repeat(13,minmax(0,1fr)) 13.1578947% repeat(13,minmax(0,1fr))}
#register-alphabet button:nth-child(11){grid-column:auto}
#register-alphabet button:nth-child(14){grid-column:15}
#register-alphabet button{font-size:1.2cqw;min-width:0}
#register-alphabet button:disabled{opacity:.28}
/* Reserve a clean lower margin below the longest dressing. */
.source-open #detail-body{top:21%;height:61%}
.source-open #detail-body .source-subtitle{margin-bottom:.75cqw}
.dressing dt{margin-top:.4cqw}
#return-register{margin-top:.4cqw}
.title-transcription{display:block;font:400 1cqw/1.4 Baskerville,'Iowan Old Style',Georgia,serif;letter-spacing:.025em;color:#70573a;margin:-.65cqw 0 1.05cqw;mix-blend-mode:multiply;mask-image:url('assets/csf-paper-ink-grain.svg');mask-size:180px 90px;text-shadow:none}
.collection-specimen .title-transcription{align-self:flex-start;margin-top:-1.5cqw}
#contents-title+.title-transcription{position:absolute;left:10%;top:33%;margin:0}
.register-open #detail-title+.title-transcription{position:absolute;left:0;top:4.2cqw;margin:0}
.register-open .register-intro{visibility:hidden}
.source-open #detail-body h2+.title-transcription{margin:.1cqw 0 .6cqw}
.source-leaf h3+.title-transcription{margin-top:-.7cqw}
/* Script flourishes extend beyond nominal glyph metrics. Give the ink mask
   a generous box rather than clipping ascenders and descending strokes. */
#collection-intro h2,#chapter-heading,.collection-specimen .specimen-title,
dialog h2,#detail-body h2,.source-open #detail-body h2,.source-leaf h3{
 line-height:1.4;padding:.12em .18em .16em;margin-left:-.18em;margin-right:-.18em;
 margin-top:-.12em;margin-bottom:.25cqw;overflow:visible;
}
.title-transcription{margin:.1cqw 0 .85cqw}
.collection-specimen .title-transcription{margin-top:-1cqw}
.contents-item>span,.pattern-entry>span{line-height:1.4;padding:.1em .15em;margin-left:-.15em;overflow:visible}
.bookmark span{line-height:1.25;padding:.18em .2em;pointer-events:none;mask-image:none}
.bookmark{box-sizing:border-box}
.source-open #detail-body{top:19%;height:64%}
.source-open #detail-body .source-subtitle{margin-bottom:.5cqw}

.dialog-index{position:absolute;left:25%;bottom:17%;width:5%;font:400 2cqw/1.5 'Mrs Saint Delafield',serif;color:#62492f;mix-blend-mode:multiply;mask-image:url('assets/csf-paper-ink-grain.svg');padding:.3em;min-height:0}
.register-open .dialog-index{display:none}
#register-position{font:400 2cqw/1.5 'Mrs Saint Delafield',serif;background:none;min-width:4cqw;width:auto;padding:.3em;bottom:-.5cqw;mix-blend-mode:multiply}
/* Programmatic reading focus must not frame an ink heading. Controls retain keyboard focus cues. */
#detail-title:focus,#chapter-heading:focus,#plate-title:focus{outline:none}
#right-study.text-study{position:absolute;left:53%;top:16%;width:33%;height:66%;display:block;margin:0;color:#57412b;mix-blend-mode:normal}
.text-study .specimen-title{font:400 3.3cqw/1.4 'Mrs Saint Delafield',serif;padding:.12em .18em .16em;margin:-.12em -.18em .25cqw;overflow:visible}
.study-prose{font:400 1.3cqw/1.55 Baskerville,'Iowan Old Style',Georgia,serif}
.study-prose p{margin:0 0 1.1cqw}
.study-prose .reading-note{font-size:1cqw}
.study-materials{font:400 1.13cqw/1.42 Baskerville,'Iowan Old Style',Georgia,serif;margin:.6cqw 0}
.study-materials dt{font-style:italic;color:#62492f;margin:.5cqw 0 .1cqw}
.study-materials dd{margin:0 0 .4cqw}
.study-materials,.study-prose p,.text-study .specimen-title{mask-image:url('assets/csf-paper-ink-grain.svg');mask-size:180px 90px;text-shadow:none}
#register-alphabet button[aria-pressed=true]{text-decoration:underline;text-underline-offset:.2em}
.recipe-open .dialog-index{bottom:13%}
.study-materials p{margin:0 0 1.05cqw;font:inherit;line-height:1.55}
.study-prose a,.reading-note a{color:inherit;text-decoration-thickness:.04cqw;text-underline-offset:.2em}

/* Sparse specimen accents occupy the quiet lower part of the material leaf. */
.material-accents{position:absolute;left:0;right:0;bottom:0;height:18cqw;pointer-events:none}
#right-study.text-study .material-accents img{position:absolute;object-fit:contain;border:0;background:none;box-shadow:none;max-width:none;filter:drop-shadow(.06cqw .12cqw .08cqw rgba(45,28,12,.20))}
#right-study.text-study .accent-feather{width:18cqw;height:auto;left:1cqw;bottom:6cqw;transform:rotate(-17deg)}
#right-study.text-study .accent-hook{width:10cqw;height:auto;right:1cqw;bottom:1.5cqw;transform:rotate(12deg)}

/* Ink belongs to the paper; feather photographs retain their own light colours. */
#right-study.text-study > .specimen-title,#right-study.text-study > .study-prose{mix-blend-mode:multiply}

/* Shared bench scale: a modest feather beside a medium salmon iron. */
#right-study.text-study .accent-feather{width:10cqw;left:1.8cqw;bottom:4.5cqw;transform:rotate(-24deg)}
#right-study.text-study .accent-tippet{height:8cqw;width:auto;left:15cqw;bottom:5.5cqw;transform:rotate(19deg)}
#right-study.text-study .accent-hook{width:9cqw;right:1.2cqw;bottom:0;transform:rotate(12deg)}
#right-study.text-study .accent-crest{height:10cqw;width:auto;left:15cqw;bottom:4.7cqw;transform:rotate(32deg)}
#right-study.text-study .accent-feather{left:calc(1.8cqw + var(--feather-shift,0cqw));transform:rotate(var(--guinea-angle,-24deg))}
#right-study.text-study .accent-tippet{left:calc(15cqw - var(--feather-shift,0cqw));transform:rotate(var(--tippet-angle,19deg))}
#right-study.text-study .accent-crest{left:calc(15cqw - var(--feather-shift,0cqw));transform:rotate(var(--crest-angle,32deg))}
#right-study.text-study .accent-hook{transform:rotate(var(--hook-angle,12deg))}

#right-study.text-study .accent-partridge{height:7.2cqw;width:auto;left:calc(10cqw + var(--feather-shift,0cqw));bottom:5cqw;transform:rotate(var(--tippet-angle,19deg))}

#right-study.text-study .accent-peacock{width:17cqw;height:auto;left:3cqw;bottom:7cqw;transform:rotate(var(--tippet-angle,19deg))}

#right-study.text-study .accent-mallard{height:16cqw;width:auto;left:8cqw;bottom:1cqw;transform:rotate(calc(var(--tippet-angle,19deg) * .5))}
/* The selected hook follows its recorded size range on the shared bench scale. */
#right-study.text-study .accent-hook{width:var(--hook-width,8cqw)}
#right-study.text-study .accent-tippet{height:6cqw}
#right-study.text-study .accent-crest{height:9cqw}
#right-study.text-study .accent-mallard{height:18cqw;bottom:.8cqw}
