
main [id] { scroll-margin-top: 96px; }
@media (max-width: 900px) { main [id] { scroll-margin-top: 80px; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; border-radius: 3px; background: var(--text); color: var(--bg); font: 550 15px var(--ui); }
.skip:focus { top: 12px; }
main:focus { outline: none; }

a:focus-visible, button:focus-visible { outline: 2px solid var(--mark); outline-offset: 3px; border-radius: 3px; }

.foot a { color: inherit; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.foot a:hover { color: var(--text); border-bottom-color: var(--mark); }

.own-sum > h2.lbl { font: 400 13.5px/1.65 var(--ui); color: var(--faint); margin: 0 0 12px; letter-spacing: 0; }
.spec h3 { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.spec .me h3 { color: var(--mark); }
.spec h3 small { display: block; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--faint); font-size: 12.5px; margin-top: 2px; }
h2.clbl { font-weight: 400; font-family: var(--ui); letter-spacing: 0; }

.mast .menu { background: none; border: 0; padding: 10px 0 10px 12px; margin: -10px 0; font: inherit; font-size: 14.5px; color: var(--text); cursor: pointer; }
.mast .menu[aria-expanded="true"] { color: var(--mark); }

.mmenu { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line-2); max-height: calc(100vh - 64px); overflow-y: auto; }
.mmenu[hidden] { display: none; }
.mast .mmenu .wrap { display: block; height: auto; padding-top: 8px; padding-bottom: 28px; } .mmenu ul { margin: 0; padding: 0; list-style: none; }
.mmenu li a { display: flex; align-items: baseline; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-weight: 350; font-size: 30px; letter-spacing: -.02em; line-height: 1.1; color: var(--text); }
.mmenu li a small { font-family: var(--ui); font-size: 13px; color: var(--faint); letter-spacing: 0; }
.mmenu li a[aria-current="page"] { color: var(--mark); }
.mmenu .ext { display: flex; gap: 24px; margin-top: 22px; font-size: 15px; }
.mmenu .ext a { border-bottom: 1px solid var(--mark); padding-bottom: 2px; }
html.menu-open { overflow: hidden; }
.mscrim { position: fixed; inset: 0; z-index: 19; background: rgba(13,13,12,.72); } .mscrim[hidden] { display: none; }
@media (min-width: 901px) { .mmenu, .mscrim { display: none !important; } }
@media (prefers-reduced-motion: no-preference) {
  .mmenu:not([hidden]) { animation: mm-in .22s cubic-bezier(.2,.8,.2,1); }
  @keyframes mm-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}

.rail a[aria-current="location"] { color: var(--text); border-left-color: var(--mark); }
@media (max-width: 1099px) { .rail a[aria-current="location"] { border-color: var(--mark); } }

.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--mark); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.totop { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: inline-flex; align-items: center; gap: 10px; max-width: calc(100vw - 40px); height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: rgba(21,21,19,.92); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-2), 0 12px 32px -12px rgba(0,0,0,.6); color: var(--text); font: 500 14px var(--ui); cursor: pointer; }
.totop[hidden] { display: none; }
.totop .cur { color: var(--muted); max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.totop .cur:empty { display: none; }
.totop .cur:not(:empty)::after { content: ""; display: inline-block; width: 1px; height: 14px; margin-left: 10px; vertical-align: -2px; background: var(--line-2); }
.totop:hover { box-shadow: inset 0 0 0 1px var(--mark), 0 12px 32px -12px rgba(0,0,0,.6); }
@media (min-width: 1100px) { .has-rail .totop .cur { display: none; } }

@media (prefers-reduced-motion: no-preference) {
  .motion .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); }
  .motion .reveal.in { opacity: 1; transform: none; }
}
