html {
  scroll-padding-top: 88px;
}

.brand-text {
  cursor: default;
}

.mark text {
  fill: var(--white);
}

.hero h1 {
  max-width: 22ch;
}

.hero-lede {
  max-width: 46ch;
}

.top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr) minmax(18rem, auto);
  align-items: center;
  row-gap: 8px;
  padding: 12px 0;
}

.brand {
  min-width: 0;
  justify-self: start;
}

.look-btn,
.lang-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.75rem;
  height: auto;
  margin: 0;
  padding: 6px 8px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.55;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}

.look-btn {
  position: relative;
  z-index: 5;
  justify-self: center;
}

.nav-pages {
  display: grid;
  grid-template-columns: repeat(3, 5.4em);
  width: calc(3 * 5.4em);
  justify-self: center;
  border: 1px solid var(--line);
  background: var(--white);
}

.nav-pages a {
  min-width: 0;
  margin: 0;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.03em;
  line-height: 1.55;
  text-align: center;
  white-space: nowrap;
}

.nav-pages a + a {
  border-left: 1px solid var(--line);
}

.nav-pages a:hover {
  color: var(--navy);
}

.nav-pages a[aria-current="page"] {
  background: var(--navy);
  color: #fff;
}

.nav-pages a[aria-current="page"]:hover {
  color: #fff;
}

.lang-drop {
  position: relative;
  justify-self: center;
}

.lang-btn {
  background: var(--white);
  color: var(--navy);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 40;
  min-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--white);
}

.lang-menu[hidden] {
  display: none;
}

.lang-menu button,
.lang-menu a {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 6px 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.lang-menu button:hover,
.lang-menu a:hover,
.lang-menu button[aria-current="true"],
.lang-menu a[aria-current="page"] {
  background: var(--navy);
  color: #fff;
}

.nav-toc {
  justify-self: end;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 14px;
  white-space: nowrap;
  min-width: 18rem;
}

.nav-toc a {
  font-size: 12px;
  letter-spacing: 0.06em;
}

.nav-toc a.is-current {
  color: var(--accent);
}

#desks .detail {
  padding: 36px 32px 28px;
}

#desks .section-head {
  margin-bottom: 24px;
}

.desk-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.desk-switch .desk-btn {
  min-height: 200px;
  padding: 28px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

html[data-look="chip"] .desk-switch a.desk-btn {
  padding: 28px 24px;
  text-align: left;
}

.desk-switch .desk-btn .eyebrow {
  margin-bottom: auto;
}

.desk-switch .desk-btn b {
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: -0.04em;
  margin: 0 0 8px;
}

.desk-switch .desk-btn span:last-child {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  max-width: 36ch;
}

.shift-kind {
  text-transform: none;
  letter-spacing: -0.02em;
  font-weight: 650;
}

.grid.steps {
  grid-template-columns: repeat(5, 1fr);
}

#who .section-head,
#start .section-head {
  grid-template-columns: 1fr;
}

#who .section-intro {
  margin-top: 16px;
  max-width: 62ch;
}

#start h2 {
  white-space: nowrap;
}

.page-band {
  margin-top: 0;
}

@media (max-width: 1100px) {
  html {
    scroll-padding-top: 128px;
  }

  .top {
    grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .nav-toc {
    grid-column: 1 / -1;
    justify-self: end;
  }
}

@media (max-width: 860px) {
  .nav-toc a:not(.keep) {
    display: inline;
  }
}

@media (max-width: 640px) {
  #start h2 {
    white-space: normal;
  }
}

@media (max-width: 720px) {
  .desk-switch {
    grid-template-columns: 1fr;
  }

  .desk-switch .desk-btn {
    min-height: 0;
  }

  .nav-pages {
    width: auto;
    grid-template-columns: repeat(3, 4.8em);
  }
}
