/* Literata by TypeTogether. SIL Open Font License: assets/fonts/OFL.txt. */
@font-face { font-family: 'Literata'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('../assets/fonts/literata-latin.woff2') format('woff2'); }
@font-face { font-family: 'Literata'; font-style: italic; font-weight: 400 600; font-display: swap; src: url('../assets/fonts/literata-latin-italic.woff2') format('woff2'); }

:root {
    color-scheme: dark;
    --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Geist', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Geist', 'Segoe UI', Roboto, sans-serif;
    --mono: ui-monospace, 'SF Mono', 'Geist Mono', Menlo, Consolas, monospace;
    --serif: 'Literata', 'Iowan Old Style', Georgia, serif;
    --ease: cubic-bezier(.2, .9, .25, 1);
    --glass: .5;
    --dock-size: 52px;
    --menubar: 30px;
    --ink: #fff;

    --bg: #000;
    --fg: #f5f5f7;
    --fg-2: rgb(235 235 245 / 64%);
    --fg-3: rgb(235 235 245 / 40%);
    --line: rgb(255 255 255 / 10%);
    --line-strong: rgb(255 255 255 / 18%);
    --fill: rgb(255 255 255 / 7%);
    --fill-2: rgb(255 255 255 / 12%);
    --accent: #0a84ff;
    --accent-fg: #fff;
    --window: #252528;
    --window-bar: #252528;
    --sidebar: #1b1b1e;
    --glass-bg: rgb(30 30 34 / calc(18% + var(--glass) * 56%));
    --glass-edge: rgb(255 255 255 / 16%);
    --glass-shine: rgb(255 255 255 / 20%);
    --shadow: 0 0 0 .5px rgb(0 0 0 / 60%), 0 24px 70px rgb(0 0 0 / 55%), 0 6px 18px rgb(0 0 0 / 35%);
    --shadow-soft: 0 0 0 .5px rgb(0 0 0 / 50%), 0 10px 30px rgb(0 0 0 / 35%);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--fg); font-family: var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-size: 14px; line-height: 1.5; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: default; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--accent) 45%, transparent); }
.glyph { display: block; flex: none; }
[hidden] { display: none !important; }


html.js { overflow: hidden; height: 100%; }
html.js body { height: 100%; overflow: hidden; overscroll-behavior: none; }
html.js #doc { display: none; }
html:not(.js) #os { display: none; }

/* The plain document: what a crawler, a reader with JavaScript off, or a browser too old for modules sees. */
#doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; font-family: var(--serif); font-size: 16px; line-height: 1.7; }
#doc a { text-underline-offset: 4px; }
#doc h1 { font-size: clamp(40px, 9vw, 64px); font-weight: 400; letter-spacing: -.04em; line-height: 1.1; }
#doc h2 { font-size: 28px; font-weight: 400; letter-spacing: -.03em; margin: 64px 0 8px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
#doc h3 { font-size: 21px; font-weight: 500; letter-spacing: -.02em; }
.doc-mark { font-size: 28px; font-weight: 600; letter-spacing: -.08em; color: var(--fg-2); }
.doc-lede { font-size: 20px; margin-top: 12px; }
.doc-sub, .doc-where, .section-note { color: var(--fg-2); }
.doc-jump { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; font-family: var(--sans); font-size: 14px; }
#doc .item { margin-top: 36px; }
#doc .only-doc-hidden { display: none; }
#doc .photo-roll { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 20px; }
#doc .photo-roll img { width: 100%; height: auto; display: block; border-radius: 6px; }
.news-list { list-style: none; padding: 0; margin: 20px 0 0; }
.news-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.news-list a { font-size: 19px; }
.news-list p { color: var(--fg-2); }
.news-meta { font-family: var(--sans); font-size: 13px; }
.backed { margin-top: 14px; font-family: var(--sans); font-size: 13px; }
.backed a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--fill-2); color: var(--fg) !important; text-decoration: none !important; }
.backed img { height: 13px; width: auto; display: block; }
.backed img { filter: invert(1); }
.doc-foot { margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line-strong); font-family: var(--sans); font-size: 13px; color: var(--fg-2); }
.doc-foot .webring { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.doc-foot .webring-home { display: inline-flex; align-items: center; gap: 6px; }

/* Content items: shared by the plain document and the windows that borrow these nodes. */
.item-meta { font-family: var(--sans); font-size: 12px; letter-spacing: .02em; color: var(--fg-3); text-transform: none; }
.item-sub { color: var(--fg-2); font-style: italic; margin-top: 2px; }
.item ul { margin: 14px 0 0; padding-left: 1.15em; }
.item li { margin: 6px 0; }
.item-cover { margin: 0 0 22px; }
.item-cover img { display: block; width: min(240px, 62%); height: auto; border-radius: 3px 5px 5px 3px; box-shadow: 0 0 0 .5px rgb(0 0 0 / 16%), 0 1px 2px rgb(0 0 0 / 22%), 0 14px 34px rgb(0 0 0 / 26%); }
.item-tags { font-family: var(--sans); font-size: 12px; color: var(--fg-3); margin-top: 16px; }
.item-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-family: var(--sans); font-size: 14px; }
.item-video { margin: 18px 0 0; }
.item-video a { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; color: #fff !important; text-decoration: none !important; box-shadow: 0 0 0 .5px rgb(0 0 0 / 22%), 0 10px 28px rgb(0 0 0 / 22%); }
.item-video img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease), filter .3s; }
.item-video a:hover img, .item-video a:focus-visible img { transform: scale(1.03); filter: brightness(.84); }
.item-video span { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 9px; height: 36px; padding: 0 15px 0 13px; border-radius: 18px; background: rgb(18 18 20 / 64%); -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6); box-shadow: inset 0 0 0 .5px rgb(255 255 255 / 22%); font-family: var(--sans); font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; }
.item-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; background: #000; box-shadow: 0 0 0 .5px rgb(0 0 0 / 22%), 0 10px 28px rgb(0 0 0 / 22%); }
.item-video span::before { content: ''; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.item-figures { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; margin-top: 18px; }
.item-figures img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 8px; }
.wiresharks-session { margin-top: 20px; min-width: 0; }
.tk1-stage { position: relative; margin-top: 20px; width: 100%; aspect-ratio: 4 / 5; max-height: 470px; border-radius: 14px; overflow: hidden; background: #0b0b0c; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 8%); cursor: grab; touch-action: pan-y; }
.tk1-stage:empty { display: none; }
.tk1-stage.is-dragging { cursor: grabbing; }
.tk1-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s ease; }
.tk1-stage[data-state='ready'] canvas { opacity: 1; }
.tk1-stage[data-state='loading']::after { content: 'Loading TK1'; position: absolute; inset: 0; display: grid; place-items: center; font: 500 12px/1 ui-monospace, 'SF Mono', monospace; letter-spacing: .08em; color: rgb(237 235 229 / 45%); }
.awards { display: grid; gap: 0; }
.award { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.award dt { font-weight: 500; }
.award dt span { display: block; font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--fg-3); }
.award dd { font-size: 24px; letter-spacing: -.03em; white-space: nowrap; }
.award dd span { font-size: 13px; color: var(--fg-2); letter-spacing: 0; }
.award dd.award-text { font-size: 18px; }
.specs { display: grid; gap: 0; margin-top: 22px; font-family: var(--sans); font-size: 14px; }
.specs > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.specs dt { color: var(--fg-3); }
.specs dd span { color: var(--fg-2); }
.contact-list { list-style: none; padding: 0 !important; font-family: var(--sans); }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); margin: 0; }
.contact-list span { color: var(--fg-3); }

@media (max-width: 560px) {
    .item-figures { grid-template-columns: 1fr; }
    .specs > div, .contact-list li { grid-template-columns: 1fr; gap: 2px; }
}
