@font-face {
  font-family: Questrial;
  src: url('/assets/fonts/questrial-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Transparent original artwork: offwhite neutral ink, unchanged PURENA teal. */
html[data-purena-theme=dark] img[data-purena-brand=header]{content:url('/assets/logo-header-dark.png')}
html[data-purena-theme=dark] img[data-purena-brand=footer]{content:url('/assets/logo-footer-dark.png')}
html[data-purena-theme=dark] img[data-purena-brand=icon]{content:url('/assets/logo-icon-dark.png')}
html[data-purena-theme=dark] .purena-intro-mark img{content:url('/assets/logo-intro-dark.png')}
html[data-purena-theme=light] .purena-intro-mark img{content:url('/assets/logo-intro.png')}

/* Appearance sits beside the language choice in desktop and mobile navigation. */
.header-preferences{display:flex;align-items:center;gap:8px;flex-shrink:0}
.appearance-switcher-header .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.appearance-switcher-header{display:flex;align-items:center;color:var(--ink);font-size:11px;line-height:1.2}
.appearance-switcher select{font:inherit;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:4px;min-height:34px;padding:6px 20px 6px 7px;max-width:86px;cursor:pointer}
.appearance-switcher select:focus-visible{outline:2px solid var(--teal-dark);outline-offset:3px}
/* Keep progressive JPEG scans hidden until the final decoded image is ready. */
.purena-image-loading .media-frame img[data-purena-photo]{opacity:0;transition:opacity .24s ease}
.purena-image-loading .media-frame img[data-purena-image-ready]{opacity:1}
@media(prefers-reduced-motion:reduce){.purena-image-loading .media-frame img[data-purena-photo]{transition:none}}
.header-preferences-mobile{display:none}
@media(min-width:1101px) and (max-width:1280px){.header-preferences{gap:4px}.topinner{gap:8px}.desktopnav{gap:8px}}
@media(max-width:1100px){
  .header-preferences-desktop{display:none}
  .header-preferences-mobile{display:flex;gap:14px;padding:2px 0 12px;border-bottom:1px solid var(--line);margin-bottom:8px}
  .language-switcher-mobile{padding:0;border:0;margin:0}
  .appearance-switcher-header{font-size:14px}
  .appearance-switcher select{min-height:44px;max-width:none;padding:9px 28px 9px 10px}
}

/* Quiet cross-document transitions; the header remains visually anchored. */
@media(prefers-reduced-motion:no-preference){
  @view-transition{navigation:auto}
  .top{view-transition-name:purena-header}
  ::view-transition-group(root){animation-duration:.58s}
  ::view-transition-old(root){animation:none;mix-blend-mode:normal}
  ::view-transition-new(root){animation:purena-page-dissolve .58s cubic-bezier(.37,0,.24,1) both;mix-blend-mode:normal}
  ::view-transition-group(purena-header){animation:none}
  ::view-transition-old(purena-header){animation:none;opacity:0}
  ::view-transition-new(purena-header){animation:none;opacity:1}
  html[data-page-entry] #app{animation:purena-content-in .46s cubic-bezier(.22,.61,.36,1) both}
}
@keyframes purena-page-dissolve{from{opacity:0}to{opacity:1}}
@keyframes purena-content-in{from{opacity:.84}to{opacity:1}}
@media(prefers-reduced-motion:no-preference){
  html[data-purena-nav-arrival]::after{
    content:"";
    position:fixed;
    inset:0;
    z-index:9999;
    pointer-events:none;
    background:#f8fafa url('/assets/logo-intro.png') center / min(410px, 75vw) auto no-repeat;
    animation:purena-logo-out .35s ease both;
  }
  html[data-purena-nav-arrival][data-purena-theme=dark]::after{
    background-color:var(--paper,#101713);
    background-image:url('/assets/logo-intro-dark.png');
  }
}
@keyframes purena-logo-out{to{opacity:0}}
@media (max-width: 700px) and (prefers-reduced-motion: no-preference) {
  ::view-transition-group(root),
  ::view-transition-new(root) { animation-duration: .34s; }
  html[data-page-entry] #app { animation-duration: .3s; }
}
@media(prefers-reduced-motion:reduce){
  @view-transition{navigation:none}
  html[data-page-entry] #app{animation:none}
}

/* Text-size accents need more contrast on the light palette. */
html:not([data-purena-theme=dark]) .crumbs { color: #53645b; }
html:not([data-purena-theme=dark]) :is(.crumbs a:hover, .siteindex a:hover) { color: #25696c; }
html:not([data-purena-theme=dark]) :is(.navblock > a:hover, .plainnav:hover, .mainnav-active) {
  color: #25696c !important;
}
html:not([data-purena-theme=dark]) :is(.tile small, .step small, .section-label):not(.dark-section *) { color: #25696c; }
.tile .text-link.tile-cta { pointer-events: none; }
