/* Shared wordmark, world clocks, and page links on every portfolio page. */
body header.site-header {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  width: 100%;
  min-height: 84px;
  padding: 12px clamp(20px, 3vw, 48px);
  border-bottom: 1px solid #00000040;
  background: transparent;
  color: #000;
  z-index: 20;
}
body header.site-header .wordmark {
  color: #000;
  font: 800 36px/1 var(--display, Godthem), sans-serif;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  transform: rotate(-5deg);
}
.world-clocks {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  min-width: 0;
  color: #000;
  font-family: var(--body, Lexend), sans-serif;
}
.world-clock { display: grid; gap: 2px; min-width: max-content; }
.world-clock-city { font-size: 10px; line-height: 1.15; letter-spacing: .08em; text-transform: uppercase; }
.world-clock time { font-size: 14px; line-height: 1.2; font-variant-numeric: tabular-nums; }
body[data-page] header.site-header nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px clamp(14px, 1.5vw, 24px);
  width: auto;
  max-width: 650px;
  color: #000;
  font: 800 clamp(17px, 1.55vw, 23px)/1.15 var(--display, 'GC Godthem'), Godthem, sans-serif;
  text-align: right;
}
body[data-page] header.site-header nav a {
  color: #000;
  font: inherit;
  text-decoration: none;
  white-space: nowrap;
}
body[data-page] header.site-header nav a:hover { color: #0000ff; text-decoration: none; }
body[data-page] header.site-header nav a[aria-current="page"] {
  color: #0000ff;
  text-decoration: underline;
  text-decoration-color: #0000ff;
  text-underline-offset: 5px;
}
@media (max-width: 1000px) {
  body header.site-header { gap: 20px; }
  body[data-page] header.site-header nav { gap: 8px 15px; font-size: 18px; }
  .world-clocks { gap: 14px; }
}
@media (max-width: 760px) {
  body header.site-header {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    gap: 12px 18px;
    min-height: 96px;
    padding: 13px 5%;
  }
  body header.site-header .wordmark { font-size: 30px; }
  body[data-page] header.site-header nav {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    max-width: min(430px, 100%);
    gap: 7px 13px;
    font-size: clamp(15px, 2.8vw, 18px);
  }
  .world-clocks {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    gap: 8px;
  }
  .world-clock { min-width: 0; }
  .world-clock-city { font-size: 8px; }
  .world-clock time { font-size: 12px; }
}
@media (max-width: 420px) {
  body header.site-header { gap: 10px 12px; }
  body header.site-header .wordmark { font-size: 26px; }
  body[data-page] header.site-header nav { gap: 7px 10px; font-size: 14px; }
  .world-clock-city { font-size: 7px; letter-spacing: .04em; }
  .world-clock time { font-size: 11px; }
}
