/* A shared scale for all pages, including dynamically populated dialogs. */
:root {
  --type-title:clamp(2.5rem,4.15vw,3.25rem);
  --type-subtitle:clamp(1.125rem,2.1vw,1.5rem);
  --type-text:1rem;
  --type-caption:.8125rem;
}

/* Older component sheets use font shorthands. Keep their face, weight and
   line height while resolving the size through the nearest semantic role. */
body,body * {font-size:var(--role-size,var(--type-text)) !important}
:is(h1,.site-name) {--role-size:var(--type-title)}
:is(h2,h3,h4,h5,h6,.site-subtitle,.book-deck,.wordmark,.cover-caption a,
    .continue-reading b,.guide-actions strong,.atlas-item figcaption strong) {
  --role-size:var(--type-subtitle);
}
:is(button,select,input,option,.site-name .honorific,.start-link,.copy-request,
    .collection-link,.guide-actions span,.menu-other a,.dir-group summary,.dir-direct>a,
    .reading .transcript p,.atlas-item figcaption a) {
  --role-size:var(--type-text);
}
:is(small,figcaption,cite,.eyeline,.item-type,.crumb,.menu-label,.source-note,
    .guide-photo,.slide-counter,.view-count,.filter-status,.press-meta,
    .cover-index,.all-photos,#atlas-status,.query-examples>span,.foot p) {
  --role-size:var(--type-caption);
}
.archive-plate figcaption :is(p,h2) {--role-size:var(--type-caption)}
.site-subtitle {
  font-family:var(--body);
  font-weight:500;letter-spacing:.008em;line-height:1.05;margin-top:1px;
}
h2,h3 {line-height:1.15}
.archive-plate figcaption,.foot p,.press-meta {line-height:1.38}
.site-name .honorific {--role-size:var(--type-subtitle)}
@media(max-width:700px) {
  :root {--type-title:clamp(1.5rem,7.65vw,2.85rem)}
  .site-name .honorific {--role-size:var(--type-caption)}
  .site-subtitle {letter-spacing:-.012em}
}
@media(max-width:760px) {
  .page-search .search-label {display:none}
}
@media(max-width:365px) {
  header .bar {grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:auto auto;row-gap:5px;padding-block:2px 4px}
  header .site-identity {display:contents}
  header .site-name {grid-column:2;grid-row:1;align-self:center}
  header .site-subtitle {grid-column:1/-1;grid-row:2;margin:0;text-align:center}
  header .brand {grid-column:1;grid-row:1}
  header .actions {grid-column:3;grid-row:1}
  .topic-tabs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* The same locally served face is used for display, reading and controls. */
:root {
  --body:"Source Sans 3",system-ui,sans-serif; --serif:var(--body); --display:var(--body);
  --folio-serif:var(--body);
}
body,body *,body *::before,body *::after {font-family:var(--face,var(--body))!important}
.site-name {text-transform:none;letter-spacing:-.032em;line-height:1.06;font-weight:700}
.site-name .honorific {text-transform:none;letter-spacing:.02em}
.site-subtitle {font-weight:500;white-space:nowrap;letter-spacing:.012em;max-width:none}
.front h1,.front h1 em,.gallery-feature h2 {letter-spacing:-.012em}
@media(max-width:560px) {
  header .bar {grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:auto auto;row-gap:1px;padding-block:3px 5px}
  header .site-identity {display:contents}
  header .brand {grid-column:1;grid-row:1}
  header .actions {grid-column:3;grid-row:1}
  header .site-name {grid-column:2;grid-row:1;align-self:center;text-align:center}
  header .site-subtitle {grid-column:1/-1;grid-row:2;text-align:center;margin:0}
}
@media(max-width:560px) {
  header .bar {row-gap:5px}
}
@media(max-width:365px) {
  .site-name {letter-spacing:0}
}

body {--type-text:1.125rem;--type-caption:.875rem;font-weight:400}
.reading :is(p,li) {line-height:1.6}
@media(max-width:560px) {header .site-name {--role-size:clamp(1.45rem,6.25vw,2.15rem)}}

/* Shared control surfaces; thumbnail buttons retain the photograph as their face. */
:root {
  --button-fill:linear-gradient(to right,var(--tone-pine),color-mix(in srgb,var(--tone-pine) 88%,var(--glaze)));--button-hover:linear-gradient(to right,var(--tone-olive),color-mix(in srgb,var(--tone-olive) 88%,var(--glaze)));--button-border:var(--tone-sage);
  --button-text:var(--tone-cream);--button-radius:10px;
}
body :is(button,a.full-photo,.reading a.copy-request,.reading a.voice-source,.guide-actions a) {
  --surface-fill:var(--button-fill);--surface-ink:var(--button-text);--edge:var(--button-border);
  box-sizing:border-box;align-items:center;justify-content:center;gap:.42em;
  min-height:44px;padding:8px 14px;border:1px solid var(--edge)!important;
  border-radius:var(--button-radius)!important;background:var(--surface-fill)!important;
  color:var(--surface-ink)!important;font-weight:600;line-height:1.2;text-decoration:none!important;
  box-shadow:none!important;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;
  transition:background-color .12s,border-color .12s;
}
body :is(.menu-trigger,.header-guide,.menu-close,.guide-close,.viewbar button,.menu-guide,
  .front-paging button,.cover-controls button,.view-paging button,.full-photo,.reading .voice-source) {display:inline-flex}
body :is(.front-paging button,.cover-controls button,.view-paging button,.full-photo,
  .menu-close,.view-close,.guide-close) {width:44px;min-width:44px;height:44px;padding:0}
body :is(.menu-close,.view-close,.guide-close) svg {display:block;width:21px;height:21px}
body .topic-tabs button:not([aria-selected=true]) {
  --surface-fill:linear-gradient(to right,var(--tone-cream),color-mix(in srgb,var(--tone-cream) 88%,var(--glaze)));--surface-ink:var(--tone-pine);--edge:var(--tone-edge);
}
body :is(button[aria-pressed=true],.topic-tabs button[aria-selected=true]) {--surface-fill:linear-gradient(to right,var(--tone-forest),color-mix(in srgb,var(--tone-forest) 88%,var(--glaze)))}
body .thumbnail-strip button {padding:2px;min-width:44px;overflow:hidden}
body .thumbnail-strip button[aria-pressed=true] {--edge:var(--tone-highlight)}
body .thumbnail-strip button img {border:0;outline:0}
body .thumbnail-strip button[aria-pressed=true] img {outline:0}
@media(hover:hover) and (pointer:fine) {
  body :is(button:where(:enabled),a.full-photo,.reading a.copy-request,.reading a.voice-source,.guide-actions a):hover {
    --surface-fill:var(--button-hover);--surface-ink:var(--button-text);--edge:var(--tone-edge);
  }
}
body :is(button,a.full-photo,.reading a.copy-request,.reading a.voice-source,.guide-actions a):active {
  --surface-fill:linear-gradient(to right,var(--tone-forest),color-mix(in srgb,var(--tone-forest) 88%,var(--glaze)));--surface-ink:var(--button-text);--edge:var(--tone-sage);
}
body button:disabled {opacity:.48;cursor:default}
body :is(button,a.full-photo,.reading a.copy-request,.reading a.voice-source,.guide-actions a):focus-visible {
  outline:2px solid currentColor!important;outline-offset:-4px!important;box-shadow:none!important;
}
html[data-input="pointer"] body :is(button,a.full-photo,.reading a.copy-request,.reading a.voice-source,.guide-actions a):focus {
  outline:none!important;
}
@media(prefers-reduced-motion:reduce) {
  body :is(button,a.full-photo,.reading a.copy-request,.reading a.voice-source,.guide-actions a) {transition:none}
}
body .reading a.voice-source {margin-block:3px}
#quick-guide .guide-actions button {justify-content:start;text-align:start}
#quick-guide .guide-actions {gap:8px}
#quick-guide .guide-actions :is(button,a) :is(span,strong) {color:inherit}
@media(max-width:480px) {
  header .actions button.menu-trigger {width:44px;height:44px;padding:0}
}
header .header-guide {display:none}
@media(min-width:1041px) {header .header-guide {display:inline-flex}}

footer .wrap.foot {display:grid;grid-template-columns:1fr;justify-items:center;gap:5px;padding-block:16px 8px;text-align:center}
footer .foot>div,footer .foot>div:last-child {text-align:center;line-height:1.18}
footer .foot .wordmark {gap:8px;margin:0;vertical-align:middle}
footer .foot .brand-logo {width:28px;height:30px;padding:3px;border-radius:6px}
footer .foot p {margin:3px 0 0;line-height:1.15}
footer .wrap.maker-line {text-align:center;line-height:1.15;padding-block:6px max(10px,env(safe-area-inset-bottom))}
@media(max-width:1040px) {body header .actions .header-guide {display:none}}
@media(max-width:340px) {
  header .site-name {--role-size:1.32rem;letter-spacing:-.035em}
}

/* The wordmark and the opening spread have independent editorial faces. */
:root {
  --masthead-face:'DM Sans',system-ui,sans-serif;
  --headline-face:'Noto Serif Display',Georgia,serif;
}
header .bar {
  display:grid;grid-template-rows:auto;grid-template-columns:minmax(44px,1fr) auto minmax(44px,1fr);
  min-height:50px;height:auto;padding-block:3px;gap:0 6px;
}
header .site-identity {display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;align-content:center;gap:1px}
header .site-name,header .site-identity .site-subtitle {--face:var(--masthead-face);font-weight:600;margin:0;grid-area:auto}
header .site-name {
  --role-size:clamp(1.45rem,3.3vw,2.45rem);letter-spacing:-.023em;font-weight:700;
  line-height:.99;text-transform:none;
}
header .site-name .honorific {--role-size:var(--type-caption);letter-spacing:-.005em}
header .site-identity .site-subtitle {
  --role-size:var(--type-caption);letter-spacing:.007em;line-height:1.12;font-weight:500;
  white-space:nowrap;color:var(--tone-pine);
}
header .bar .brand {align-self:center;min-height:44px;min-width:44px;justify-content:center}
header .bar .brand-logo {width:42px;height:45px;object-fit:contain}
@media(max-width:560px) {
  header .bar {grid-template-columns:44px minmax(0,1fr) 44px;min-height:46px;padding-block:2px;column-gap:3px}
  header .site-identity {grid-column:2;grid-row:1;min-width:0}
  header .bar .brand-logo {height:42px;width:40px}
  header .site-name {--role-size:clamp(1.2rem,5.65vw,1.95rem)}
  header .site-identity .site-subtitle {--role-size:clamp(.71rem,3.05vw,.875rem);letter-spacing:-.02em}
  header .site-name .honorific {--role-size:clamp(.7rem,2.9vw,.875rem)}
}
:is(.collection-banner,.atlas-title,.page-top) h1,.book-opening .book-deck {
  --face:var(--body);font-weight:600;
}
:is(.collection-banner,.atlas-title,.page-top) h1 {letter-spacing:-.02em}
.front h1 {
  --face:var(--headline-face);--role-size:clamp(2.45rem,4.8vw,4.95rem);
  font-weight:700;letter-spacing:-.016em;line-height:1.12;margin-block:.25em .32em;
}
.front h1 em {font-weight:400;font-style:italic;letter-spacing:0}
.front .intro {
  --face:var(--body);--role-size:clamp(1.125rem,1.5vw,1.35rem);
  font-weight:400;line-height:1.5;letter-spacing:.004em;max-width:42ch;
}
@media(max-width:760px) {
  .front h1 {--role-size:clamp(2rem,9.8vw,3.85rem)}
}

footer .foot .wordmark .brand-logo {
  width:32px;height:35px;padding:0;background:transparent;border:none;border-radius:0;box-shadow:none;
  object-fit:contain;filter:drop-shadow(.7px 0 0 var(--tone-highlight)) drop-shadow(-.7px 0 0 var(--tone-highlight)) drop-shadow(0 .7px 0 var(--tone-highlight)) drop-shadow(0 -.7px 0 var(--tone-highlight));
}

:root {
  --masthead-face:'Barlow Condensed','Arial Narrow',sans-serif;
  --headline-face:'Spectral',Georgia,serif;
}
header .site-name {
  --role-size:clamp(2.5rem,4.15vw,3.25rem);
  font-weight:700;letter-spacing:-.012em;line-height:.9;text-transform:uppercase;
}
header .site-name .honorific {
  --role-size:var(--type-subtitle);text-transform:uppercase;line-height:1;letter-spacing:.016em;
}
header .site-identity .site-subtitle {
  --role-size:var(--type-subtitle);font-weight:500;color:var(--tone-pine);letter-spacing:.008em;line-height:1.05;
}
@media(max-width:700px) {
  header .site-name {--role-size:clamp(1.5rem,7.65vw,2.85rem)}
  header .site-name .honorific {--role-size:var(--type-caption)}
  header .site-identity .site-subtitle {--role-size:clamp(.86rem,3.65vw,1.125rem);letter-spacing:-.012em}
}
.front h1, :is(.collection-banner,.atlas-title,.page-top,.book-opening) h1 {
  --face:var(--headline-face);font-weight:600;line-height:1.07;letter-spacing:-.014em;
}
.front h1 {margin-block:.18em .22em}
.front h1 em {font-weight:500}
.front .intro,main .reading :is(p,li),main .catalog-desc p,main .exhibit p,main .gallery-feature p {
  line-height:1.43;
}
.quotation-page .reading li blockquote {line-height:1.4}

/* The two layers share the registration of the original transparent mark. */
body header .bar .playful-mark {
  justify-self:start;display:grid;place-items:center;min-width:0;padding:0;
  width:clamp(53px,8vw,78px);height:auto;aspect-ratio:384/414;
  background:transparent!important;border:0!important;border-radius:4px!important;
  touch-action:manipulation;position:relative;
}
header .mark-art,header .mark-art>span {position:absolute;inset:0;pointer-events:none}
header .mark-top,header .mark-stache {
  background:center/contain no-repeat url('/img/hd/16c2035ede04/marchio-capriglio.webp');
}
header .mark-top {clip-path:inset(0 0 28.7% 0)}
header .mark-stache {clip-path:inset(71.3% 0 0);transform-origin:50% 81%}
header .playful-mark .mark-razor {
  inset:66% auto auto 0;width:33%;height:35%;opacity:0;transform:rotate(25deg);
}
.mark-razor::before,.mark-razor::after {content:"";position:absolute;display:block}
.mark-razor::before {
  width:21%;height:83%;bottom:0;left:40%;border:1px solid var(--tone-pine);border-radius:3px;
  background:repeating-linear-gradient(25deg,var(--tone-oat) 0 2px,var(--tone-sage) 2px 3px);
}
.mark-razor::after {
  top:0;left:0;width:100%;height:25%;border:1px solid var(--tone-pine);border-radius:3px;
  background:linear-gradient(to right,var(--tone-cream),var(--tone-edge) 52%,var(--tone-vellum) 55%,var(--tone-sage));
}
.playful-mark[data-action=bounce] .mark-stache {animation:stache-hop .76s ease-in-out}
.playful-mark[data-action=shave] .mark-razor {animation:razor-pass .9s ease-in-out}
.playful-mark[data-action=shave] .mark-stache {animation:stache-trim 2.05s both}
@keyframes stache-hop {
  0%,100% {transform:none} 24% {transform:translateY(-8%) rotate(-6deg)}
  49% {transform:translateY(2%) rotate(4deg)} 72% {transform:translateY(-3%) rotate(-2deg)}
}
@keyframes razor-pass {
  0% {opacity:0;transform:translate(-65%,-35%) rotate(-20deg)}
  20% {opacity:1} 85% {opacity:1}
  100% {opacity:0;transform:translate(315%,12%) rotate(20deg)}
}
@keyframes stache-trim {
  0%,12% {clip-path:inset(71.3% 0 0 0)} 40%,72% {clip-path:inset(71.3% 0 0 100%)}
  73% {opacity:0;clip-path:inset(71.3% 0 0 0);transform:scale(.75)}
  100% {opacity:1;clip-path:inset(71.3% 0 0 0);transform:scale(1)}
}
footer .foot .wordmark span,footer .foot .foot-subtitle {--face:var(--masthead-face)}
footer .foot .wordmark span {text-transform:uppercase;font-weight:700;letter-spacing:-.012em;line-height:.95}
footer .foot .foot-subtitle {font-weight:500;line-height:1.05}
footer .foot .wordmark .brand-logo {width:43px;height:auto;filter:none}
header .bar {padding-block:1px}
@media(max-width:700px) {
  header .bar {grid-template-columns:minmax(52px,1fr) auto minmax(52px,1fr);gap:2px}
  body header .bar .playful-mark {width:clamp(49px,14vw,68px)}
  header .site-identity {grid-column:2;min-width:0}
  header .site-identity .site-subtitle {--role-size:clamp(.65rem,2.85vw,1rem);letter-spacing:.005em}
}
@media(min-width:701px) {header .site-identity .site-subtitle {--role-size:clamp(.9rem,1.3vw,1.16rem)}}
main .reading :is(p,li),main .catalog-desc p,main .exhibit p,main .gallery-feature p,.front .intro {line-height:1.36}
@media(prefers-reduced-motion:reduce) {
  header .playful-mark[data-action] .mark-art>span {animation:none}
  header .playful-mark[data-action=shave] .mark-stache {opacity:0}
  header .playful-mark[data-action=bounce] .mark-stache {transform:rotate(-3deg)}
}

/* The second column is the name itself. Both lines share its centre. */
header .site-identity {
  grid-template-columns:max-content max-content;
  column-gap:.22em;
}
header .site-identity .site-name,
header .site-identity .site-name a {
  display:grid;
  grid-template-columns:subgrid;
  grid-column:1 / -1;
  align-items:baseline;
  justify-items:center;
  justify-self:stretch;
}
header .site-identity .site-name {grid-row:1}
header .site-identity .site-subtitle {grid-area:2 / 2;justify-self:center}
