@font-face{font-family:DM Sans;src:url(/lithec-assets/dm-sans.woff2) format("woff2");font-weight:400 700;font-display:swap}

:root[data-theme="day"] {
  --accent: #aa006a;
  --accent-text: #9b006b;
  --headline-accent: #cd007b;
  --accent-on: #fff;
  --focus: #d90082;
  --accent-hover: #94005f;
  --accent-soft: #fff3fa;
}
:root[data-theme="night"] {
  --accent: #ff70b9;
  --accent-text: #ff82c6;
  --headline-accent: #ff2ca1;
  --accent-on: #190b13;
  --focus: #ff50ae;
  --accent-hover: #ff92d2;
  --accent-soft: #291523;
}
.mast .brand { display: block; flex-shrink: 0 }
.mast .brand .brand-night,
html[data-theme="night"] .mast .brand .brand-day { display: none }
html[data-theme="night"] .mast .brand .brand-night { display: block }

.theme-switch {
  --switch-ground: #f4f1ef;
  --switch-color: #393438;
  --switch-line: #827a7f;
  --switch-current: var(--accent);
  --switch-on-current: var(--accent-on);
  display: inline-flex;
  flex: none;
  align-items: stretch;
  min-width: 0;
  margin: 0;
  padding: 2px;
  border: 1px solid var(--switch-line);
  border-radius: 6px;
  background: var(--switch-ground);
  color: var(--switch-color);
  font: 600 .85rem/1.1 'DM Sans', Arial, sans-serif;
}
.theme-switch[hidden] { display: none }
html[data-theme="night"] .theme-switch {
  --switch-ground: #262327;
  --switch-color: #f0eced;
  --switch-line: #888086;
}
.theme-switch label { position: relative; cursor: pointer }
.theme-switch legend, .theme-switch input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.theme-switch label > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .34rem;
  min-height: 2rem;
  padding-inline: .62rem;
  border-radius: 3px;
}
.theme-switch input:checked + span {
  color: var(--switch-on-current);
  background: var(--switch-current);
}
.theme-switch input:focus-visible + span {
  position: relative;
  z-index: 1;
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.theme-switch label:hover span { text-decoration: underline; text-underline-offset: .15em }
.theme-icon { display: inline-block; flex: none; width: .8rem; height: .8rem }
.theme-icon.sun {
  background:
    radial-gradient(circle, currentColor 0 32%, transparent 36% 45%, var(--switch-ground) 46% 52%, transparent 53%),
    repeating-conic-gradient(currentColor 0 12deg, transparent 12deg 45deg);
  border-radius: 50%;
}
.theme-switch input:checked + span .sun { --switch-ground: var(--switch-current) }
.theme-icon.moon { border-radius: 50%; box-shadow: inset -.25rem -.12rem 0 currentColor; transform: rotate(12deg) }
@media (forced-colors: active) {
  .theme-switch input:checked + span { outline: 2px solid Highlight; outline-offset: -2px }
}
@media (forced-colors: active) and (prefers-color-scheme: dark) {
  html:root .mast .brand .brand-day { display: none }
  html:root .mast .brand .brand-night { display: block }
}
@media (forced-colors: active) and (prefers-color-scheme: light) {
  html:root .mast .brand .brand-day { display: block }
  html:root .mast .brand .brand-night { display: none }
}

/* The site and the brochure library share this masthead. */
.mast {
  --mast-gutter: clamp(20px, 5.6vw, 104px);
  --mast-paper: #fff;
  --mast-ink: #242025;
  --mast-rule: #ccc5c8;
  position: relative;
  z-index: 3;
  color: var(--mast-ink);
  background: var(--mast-paper);
  border-bottom: 1px solid var(--mast-rule);
  font: 400 1rem/1.5 'DM Sans', Arial, sans-serif;
}
html[data-theme="night"] .mast {
  --mast-paper: #0b0d11;
  --mast-ink: #faf6f7;
  --mast-rule: #33363b;
}
.mast .mast-inner {
  width: min(1660px, 100%);
  min-height: 77px;
  margin-inline: auto;
  padding-inline: var(--mast-gutter);
  display: flex;
  align-items: center;
  column-gap: clamp(12px, 1.8vw, 36px);
}
.mast .brand img { display: block; width: 109px; max-width: 100%; height: auto; }
.mast a { color: inherit; text-decoration: none; }
.mast :is(a, summary):focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
.mast .full-nav { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 36px); margin-left: auto; }
.mast :is(.full-nav a, .nav-contact) { font-size: .94rem; font-weight: 600; }
.mast .nav-contact { border: 1px solid #73777b; padding: .53rem 1.4rem; border-radius: 3px; }
.mast :is(.full-nav a, .mobile-nav a):hover {
  color: var(--accent-text); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px;
}
.mast .nav-contact:hover { color: var(--accent-on); background: var(--accent); border-color: var(--accent); }
.mast :is(.full-nav a, .mobile-nav a, .nav-contact)[aria-current] {
  color: var(--accent-text); text-decoration: underline; text-decoration-color: var(--headline-accent);
  text-decoration-thickness: 3px; text-underline-offset: 6px;
}
.mast .nav-contact[aria-current]:hover { color: var(--accent-on); text-decoration-color: currentColor; }
.mast .mobile-nav { display: none; }
.mast .mobile-nav[open] > summary, .mast .mobile-nav > summary:hover { color: var(--accent-text); }
@media (min-width: 701px) and (max-width: 1360px) {
  .mast .mast-inner { column-gap: .85rem; }
  .mast .full-nav { gap: .85rem; }
  .mast .nav-contact { padding-inline: .8rem; }
  .mast .brand img { width: 90px; }
  .theme-switch label > span { padding-inline: .42rem; }
}
@media (max-width: 700px) {
  .theme-switch label > span { padding-inline: .48rem; }
}
@container page (width < 73em) {
  .mast .mast-inner {
    display: flex;
    flex-wrap: wrap;
    column-gap: .65rem;
    row-gap: 0;
  }
  .mast .brand { display: flex; min-height: 3.25rem; align-items: center; }
  .mast .brand img { width: 85px; }
  .mast .full-nav {
    order: 1; flex: 1 1 100%; min-width: 0; margin: 0;
    gap: 0 clamp(.55rem, 3vw, 1.6rem); flex-wrap: wrap;
    border-top: 1px solid var(--mast-rule);
  }
  .mast .full-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; }
  .mast .nav-contact { margin-left: auto; font-size: .88rem; padding: .45rem .85rem; }
  .mast .mobile-nav { display: block; }
  .mast .mobile-nav summary {
    display: flex; gap: 9px; align-items: center; cursor: pointer; font-size: .9rem;
    font-weight: 700; padding: 8px 0 8px 5px;
  }
  .mast .mobile-nav summary::-webkit-details-marker { display: none; }
  .mast .mobile-nav summary span { width: 18px; height: 10px; border-block: 1.5px solid currentColor; }
  .mast .mobile-nav nav {
    position: absolute; top: 100%; inset-inline: 0; background: var(--mast-paper);
    border-block: 1px solid var(--mast-rule); padding: 12px var(--mast-gutter); box-shadow: 0 12px 20px #0004;
  }
  .mast .mobile-nav nav a { display: block; padding: 9px 0; }
}
@container page (max-width: 39em) {
  .mast .nav-contact { display: none; }
  .mast .language-picker { margin-left: auto; }
  .mast .mast-inner { padding-inline: 14px; column-gap: .4rem; }
}
@media (max-width: 360px) {
  .mast .brand img { width: 67px; }
  .theme-switch .theme-icon { display: none; }
}
@media (max-width: 340px) {
  .mast .mast-inner { padding-inline: 12px; column-gap: .25rem; }
}
@container page (width < 20em) {
  .mast .mast-inner {
    display: grid; grid-template-columns: minmax(0, 1fr) max-content;
    grid-template-areas: "brand language" "theme menu" "nav nav";
    gap: .25rem .4rem; padding-block: .35rem;
  }
  .mast .brand { grid-area: brand; justify-self: start; min-height: 0; }
  .mast .language-picker { grid-area: language; justify-self: end; }
  .mast .mobile-nav { grid-area: menu; justify-self: end; }
  .mast .theme-switch { grid-area: theme; justify-self: start; }
  .mast .theme-switch .theme-icon { display: none; }
  .mast .theme-switch label > span { padding-inline: .31em; }
  .mast .full-nav { grid-area: nav; }
}
.mast .language-picker { position: relative; flex: none; }
.mast .language-picker summary {
  display: inline-flex; align-items: center; justify-content: center; gap: .38rem;
  min-height: 44px; cursor: pointer; font-size: .88rem; font-weight: 700;
  list-style: none; color: var(--mast-ink);
}
.mast .language-picker summary::-webkit-details-marker { display: none; }
.mast .language-picker summary::after {
  content: ""; width: .43em; height: .43em; border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor; transform: translateY(-.1em) rotate(45deg);
}
.mast .language-picker[open] summary::after { transform: translateY(.1em) rotate(225deg); }
.mast .language-picker summary:hover, .mast .language-picker[open] summary { color: var(--accent-text); }
.mast .language-flag {
  display: block; flex: none; width: 1.43rem; height: 1rem; object-fit: cover;
  border-radius: 2px; outline: 1px solid #80808070; outline-offset: -1px;
}
.mast .language-code { display: none; }
.mast .language-picker:not([open]) > .language-options { display: none; }
.mast .language-options {
  position: absolute; z-index: 4; inset-inline-end: 0; inset-block-start: 100%;
  display: grid; width: max-content; min-width: 10.5rem; max-height: 65vh; max-height: 65dvh;
  overflow-y: auto; overscroll-behavior: contain; list-style: none;
  margin: 0; padding: .3rem; background: var(--mast-paper); color: var(--mast-ink);
  border: 1px solid var(--mast-rule); border-radius: .35rem; box-shadow: 0 .45rem 1.25rem #0003;
}
.mast .language-options a {
  display: flex; align-items: center; gap: .68rem; min-height: 44px; padding: .38rem .67rem;
  border-radius: .16rem; font-size: .94rem; font-weight: 550; line-height: 1.25;
}
.mast .language-options a[aria-current] { color: var(--accent-text); font-weight: 700; }
.mast .language-options a[aria-current]::after { content: "✓"; margin-inline-start: auto; }
.mast .language-options a:hover, .mast .language-options a:focus-visible { color: var(--accent-text); background: var(--accent-soft); }
.mast .language-options a:focus-visible { outline-offset: -2px; }
@container page (width < 84em) {
  .mast .language-name { display: none; }
  .mast .language-code { display: inline; }
}
@container page (width < 49em) {
  .mast .language-picker { position: static; }
  .mast .language-options {
    inset-block-start: auto; inset-inline: auto var(--mast-gutter);
    width: min(22rem, calc(100% - var(--mast-gutter) * 2)); min-width: 0;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 7.8rem), 1fr));
  }
}
@container page (20em <= width <= 26.5em) {
  .mast .language-picker summary { gap: .22rem; }
  .mast .language-picker summary .language-flag { width: 1.15rem; height: .8rem; }
  .mast .mobile-nav summary { gap: 5px; padding-inline-start: 0; }
  .mast .theme-switch label > span { padding-inline: .35rem; }
  .mast .theme-switch .theme-icon { display: none; }
}
@container page (20em <= width <= 22em) {
  .mast:lang(ja) .mobile-nav summary span { display: none; }
}
@container page (width < 11em) {
  .mast .mobile-nav summary span { display: none; }
}
@media print { .mast .language-picker { display: none; } }
