/* Wilson Photography — shared base styles (reset, tokens, header, footer) */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #0a0a0a;
  --text:    #eeebe6;
  --muted:   #666666;
  --muted-2: #444444;
  --muted-3: #2a2a2a;
  --border:  #1a1a1a;
  --nav-h:   52px;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  min-height: 100vh;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.visually-hidden:focus,
a.skip-link:focus {
  position: static !important;
  width: auto; height: auto;
  margin: 0;
  clip: auto;
  white-space: normal;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 10000;
  background: var(--text);
  color: var(--bg);
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

/* ── Site header (about / collections / contact pages) ── */
.wh-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.wh-logo {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}

.wh-logo:hover { opacity: 0.7; }

.wh-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}

.wh-nav a {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.wh-nav a:hover { color: var(--text); }

.wh-nav-prints {
  color: var(--text) !important;
  border-bottom: 1px solid var(--text);
  padding-bottom: 1px;
}

@media (max-width: 640px) {
  .wh-header {
    flex-direction: column;
    height: auto;
    padding: 18px 20px 16px;
    gap: 10px;
  }
  .wh-nav { gap: 20px; justify-content: center; flex-wrap: wrap; }
}

/* ── Site footer (about / collections / contact pages) ── */
.wh-footer {
  padding: 40px 20px 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.wh-footer-social {
  display: flex;
  gap: 20px;
  align-items: center;
}

.wh-footer-social a {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-2);
  text-decoration: none;
  transition: color 0.2s;
}

.wh-footer-social a:hover { color: var(--text); }

.wh-footer-copy {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
