/* h4d35x0 shared chrome: the slim command bar and footer.
   Used by both layouts, so the bespoke persona pages and the Dawn-backed
   commerce pages read as one site. */

.h4-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1.8rem;
  padding: 1.1rem 1.6rem;
  border-bottom: 1px solid var(--h4-line);
  background: var(--h4-bg);
  font-family: var(--h4-mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 1.15rem;
}

.h4-nav__brand {
  color: var(--h4-fg);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.06em;
}
.h4-nav__brand::after { content: '_'; color: var(--h4-accent); }
.h4-nav__brand:hover, .h4-nav__brand:focus-visible { color: var(--h4-accent); }

.h4-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.h4-nav__link {
  color: var(--h4-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.2rem;
}
.h4-nav__link:hover,
.h4-nav__link:focus-visible { color: var(--h4-fg); border-bottom-color: var(--h4-accent); }
.h4-nav__link[aria-current='page'] { color: var(--h4-accent); border-bottom-color: var(--h4-accent); }
.h4-nav__link--shop { color: var(--h4-accent); }

.h4-nav__spacer { flex: 1 1 auto; }
.h4-nav__state { color: var(--h4-dim); }
.h4-nav__state b { font-weight: 400; color: var(--h4-warn); }

/* ---- footer ---- */
.h4-foot {
  margin-top: 6rem;
  padding: 2.4rem 1.6rem 3.2rem;
  border-top: 1px solid var(--h4-line);
  font-family: var(--h4-mono);
  font-size: 1.2rem;
  color: var(--h4-dim);
}
.h4-foot__inner { max-width: 96rem; margin: 0 auto; }

.h4-foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.8rem;
  margin: 0 0 1.8rem;
  padding: 0;
  list-style: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 1.1rem;
}
.h4-foot__links a {
  color: var(--h4-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.h4-foot__links a:hover,
.h4-foot__links a:focus-visible { color: var(--h4-fg); border-bottom-color: var(--h4-accent); }

/* The disclaimer is a legal statement. It stays in sentence case and must be
   legible, so it uses --h4-fg rather than the dim token. */
.h4-foot__disclaimer {
  max-width: 78ch;
  margin: 0 0 1.4rem;
  color: var(--h4-fg);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.65;
}
.h4-foot__restraint { margin: 0; max-width: 78ch; }

@media screen and (max-width: 749px) {
  .h4-nav { position: static; letter-spacing: 0.1em; gap: 0.4rem 1.2rem; }
  .h4-nav__state { display: none; }
}
