/* The bilingual entrances share the existing GAWEL wordmark, blue and type families. */
:root {
  --brand-paper: #fff;
  --brand-ink: #14191d;
  --brand-blue: #00518f;
  --brand-rule: #c6cdd1;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --brand-paper: #101419;
  --brand-ink: #f5f7f8;
  --brand-blue: #99cfff;
  --brand-rule: #536168;
}
:root[data-theme="light"] { color-scheme: light; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) { --brand-paper: #101419; --brand-ink: #f5f7f8; --brand-blue: #99cfff; --brand-rule: #536168; }
}
/* The entry sheet also supports visitors reading with scripting disabled. */
:root[data-theme="light"]:has(.brand-shell) {
  --ink: #172127; --muted: #455660; --blue: #004c8b; --rule: #b5c1c6; --paper: #fff;
  --wash: #edf2f4; --sheet: #fff; --tint: #dfedfb; --mark: #e3f0f8; --bold: #082c46;
}
:root[data-theme="dark"]:has(.brand-shell) {
  --ink: #f4f6f6; --muted: #c3cdd1; --blue: #99cfff; --rule: #536168; --paper: #101419;
  --wash: #1c2a31; --sheet: #182125; --tint: #1e384b; --mark: #234056; --bold: #d5eeff;
}
html[data-theme="light"]:has(.brand-shell) .button { background: #15344b; color: white; }
html[data-theme="dark"]:has(.brand-shell) .button { background: #9dd0ff; color: #092338; }
.brand-shell {
  color: var(--brand-ink);
  background: var(--brand-paper);
  border-bottom: 1px solid var(--brand-rule);
  font: 500 1rem/1.35 Satoshi, Arial, sans-serif;
}
.brand-row {
  width: min(1376px, 90%);
  min-height: 72px;
  margin: auto;
  display: flex;
  gap: clamp(.6rem, 2vw, 2rem);
  align-items: center;
  justify-content: space-between;
}
.brand-shell a, .brand-shell summary, .brand-languages a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}
.brand-shell a:hover, .brand-shell summary:hover, .brand-languages a:hover { text-decoration: underline; }
.brand-shell :focus-visible, .brand-languages a:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 3px; }
.brand-shell .brand-wordmark {
  flex: none;
  font: 700 clamp(1.35rem, 2.45vw, 2rem)/1 Satoshi, Arial, sans-serif;
  letter-spacing: -.045em;
  text-decoration: none;
}
.brand-bar { align-self: center; transform: translate(.12em,-.45em); width: .38em; height: .11em; background: var(--brand-blue); }
.brand-legal { align-self: center; margin: .87em 0 0 .58em; font-size: .34em; font-weight: 500; letter-spacing: .14em; }
.brand-primary, .brand-tools, .brand-shell .brand-languages, .brand-specialist .brand-languages {
  display: flex; align-items: center; gap: clamp(.5rem, 1.5vw, 1.6rem);
}
.brand-primary, .brand-tools, .brand-languages { font-size: .925rem; }
.brand-tools { margin-inline-start: auto; }
.brand-primary { margin-inline-start: auto; }
.brand-primary a { min-width: 44px; justify-content: center; }
.brand-shell .brand-languages, .brand-specialist .brand-languages { padding: 0; border: 0; margin: 0; gap: .16rem; }
.brand-languages a { justify-content: center; min-width: 44px; font-size: .86rem; }
.brand-languages a[aria-current] { color: var(--brand-ink); font-weight: 700; }
.brand-languages a:not([aria-current]) { color: var(--brand-blue); }
.brand-theme {
  display: inline-grid; place-items: center; padding: 0;
  background: transparent; color: inherit; border: 1px solid var(--brand-rule); border-radius: 50%;
  width: 44px; height: 44px; font: 1.35rem/1 Arial, sans-serif; cursor: pointer;
}
.brand-theme[hidden], .brand-theme[aria-pressed="true"] .brand-moon, .brand-theme[aria-pressed="false"] .brand-sun { display: none; }
.brand-menu { display: none; }
.brand-specialist .brand-languages { font-family: Satoshi, Arial, sans-serif; }
@media (max-width: 1000px) {
  .brand-row { flex-wrap: wrap; column-gap: .6rem; row-gap: 0; min-height: 64px; }
  .brand-primary { display: none; }
  .brand-menu { display: block; position: relative; }
  .brand-menu summary { cursor: pointer; min-width: 44px; justify-content: center; }
  .brand-menu summary::after { content: '⌄'; margin-left: .25em; }
  .brand-menu nav {
    position: absolute; z-index: 20; right: 0; top: 100%; padding: .5rem 1rem;
    width: max-content; max-width: min(22rem, 90vw); display: grid;
    border: 1px solid var(--brand-rule); background: var(--brand-paper);
  }
}
@media (max-width: 700px) {
  .brand-row { width: calc(100% - 2.5rem); }
  .brand-tools { gap: .36rem; }
  .brand-specialist .nav-actions { gap: .2rem; }
}
@media (max-width: 390px) {
  .brand-row { width: calc(100% - 1.5rem); }
  .brand-row:has(.brand-menu) .brand-menu { width: 100%; }
  .brand-row:has(.brand-menu) .brand-menu nav { left: 0; right: auto; }
}
@media print { .brand-shell { display: none; } }
