:root {
  --page: 1728px;
  --rule: #0087cd;
}

* { box-sizing: border-box; }
html {
  margin: 0;
  overflow-x: clip;
}
body {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  background: #d8d8d8;
  color: var(--ink);
  font: 12px/1.3 ui-sans-serif, system-ui, sans-serif;
}

.artboard {
  container-type: inline-size;
  container-name: page;
  position: relative;
  width: 100%;
  max-width: min(var(--page, 1728px), 100%);
  margin: 0 auto;
  background: #fff;
  color: var(--ink);
  overflow-wrap: break-word;
}

.skip-to-content {
  position: absolute;
  left: var(--inset);
  top: -4rem;
  z-index: 12;
  padding: 0.4rem 0.6rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-te);
  font-size: var(--text-nav);
  text-decoration: none;
}
.skip-to-content:focus {
  top: var(--space-2);
  color: var(--paper);
  font-style: normal;
}

.site-head {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.masthead {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-6) var(--inset) var(--space-5);
}
.wordmark {
  width: var(--wordmark-w);
  line-height: 0;
}
.wordmark img {
  display: block;
  width: 100%;
  height: auto;
}
.mast-clock {
  position: absolute;
  top: var(--space-2);
  right: var(--inset);
  z-index: 1;
  margin: 0;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: var(--text-clock);
  font-weight: 400;
  line-height: 1;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.rule {
  height: 3px;
  margin: 0 var(--inset);
  background: var(--rule);
}

.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 6;
  padding: var(--space-3) var(--inset);
  background: #fff;
}

.menu {
  position: absolute;
  top: var(--space-2);
  left: var(--inset);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 1.75rem;
  height: 1.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu span {
  display: block;
  width: 100%;
  height: 2px;
  background: #000;
}

html.menu-open,
html.menu-open body {
  overflow: hidden;
}
html.menu-open .menu {
  visibility: hidden;
}

.site-menu__scrim {
  position: fixed;
  inset: 0;
  z-index: 19;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.site-menu {
  position: fixed;
  top: var(--menu-top, 0px);
  left: var(--menu-left, 0);
  z-index: 20;
  width: var(--menu-width, 75%);
  height: calc(100dvh - var(--menu-top, 0px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--ink);
}

.site-menu[hidden],
.site-menu__scrim[hidden] {
  display: none;
}

.site-menu__close {
  position: absolute;
  top: var(--space-2);
  left: var(--inset);
  z-index: 1;
  display: flex;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  line-height: 0;
}
.site-menu__close svg {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
}

.site-menu__band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-4);
  min-height: 20dvh;
  padding: var(--space-5) var(--inset);
}
.site-menu__band--about {
  background: var(--menu-about);
  padding-top: var(--space-8);
}
.site-menu__band--tech { background: var(--menu-tech); }
.site-menu__band--interviews { background: var(--menu-interviews); }
.site-menu__band--directory { background: var(--menu-directory); }
.site-menu__band--magazine { background: var(--menu-magazine); }
.site-menu__band--events { background: var(--menu-events); }
.site-menu__band--subscribe { background: var(--menu-subscribe); }

.site-menu__title {
  color: inherit;
  font-size: var(--text-menu);
  font-weight: var(--weight);
  line-height: var(--lh-heading);
  text-decoration: none;
}
.site-menu__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-2);
  text-align: right;
}
.site-menu__side a {
  color: inherit;
  font-size: var(--text-menu-sub);
  line-height: var(--lh-mixed);
  text-decoration: none;
}
.site-menu__title:hover,
.site-menu__title:focus-visible,
.site-menu__side a:hover,
.site-menu__side a:focus-visible,
.site-menu__close:hover,
.site-menu__close:focus-visible {
  font-style: italic;
}

.sections {
  min-width: 0;
}
.sections ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35em 1em;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sections a {
  color: #000;
  font-family: var(--font-te);
  font-size: var(--text-section-nav);
  font-weight: var(--weight);
  font-style: inherit;
  line-height: var(--lh-mixed);
  text-decoration: none;
}
.sections a:hover,
.sections a:focus-visible {
  font-style: italic;
}
.sections a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

@container page (max-width: 540px) {
  .sections ul {
    justify-content: flex-start;
  }
}
