/*
 * The site header: the mark, the title, the line under it and the links to About Steven, the
 * resume and The Shed, explained. Used on the home page, above every view.
 * Colours, fonts and spacing come from the custom properties in tokens.css; this file
 * never writes a colour value (StyleRulesTests). More in
 * docs/ADR-010-the-palette-borrowed-from-theyard.md.
 */

/* #region header */
.site-header {
  background: var(--gradient-header);
  color: var(--color-header-text);
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: var(--layer-header);
}

.site-header .mark {
  width: 36px;
  height: 36px;
  flex: none;
}

.site-header h1 {
  color: var(--color-header-text);
  font-size: var(--text-xl);
  margin: 0;
}

.site-header p {
  margin: 0;
  color: var(--color-header-text-muted);
  font-size: var(--text-sm);
}

.site-header a {
  color: var(--color-header-text);
}

.site-header a:focus-visible {
  outline: var(--focus-ring-on-dark);
}

.site-nav {
  margin-left: auto;
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}

.site-nav a {
  text-decoration: none;
  border-bottom: 1px solid var(--color-gold-light);
  padding-bottom: 1px;
}

.site-nav a:hover {
  color: var(--color-gold-light);
}
/* #endregion header */
