/* paulradfordartist.com — style */

:root {
  --bg: #fafaf8;
  --text: #1a1a1a;
  --text-light: #555;
  --text-lighter: #888;
  --border: #ddd;
  --accent: #2c2c2c;
  --link: #1a1a1a;
  --link-hover: #555;
  --max-width: 820px;
  --nav-height: 56px;
}

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

html {
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Navigation ── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

nav .nav-inner {
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

nav .site-name {
  font-family: 'Helvetica Neue', 'Arial', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

nav .nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav .nav-links a {
  font-family: 'Helvetica Neue', 'Arial', sans-serif;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

nav .nav-links a:hover,
nav .nav-links a.active {
  color: var(--text);
}

/* ── Mobile nav ── */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

@media (max-width: 680px) {
  nav .nav-inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  nav .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0;
  }

  nav .nav-links.open {
    display: flex;
  }

  nav {
    height: auto;
    min-height: var(--nav-height);
  }
}

/* ── Main content ── */

main {
  flex: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ── Typography ── */

h1 {
  font-family: 'Helvetica Neue', 'Arial', sans-serif;
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  line-height: 1.3;
}

h1 .dates {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 300;
}

.subtitle {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 48px;
  line-height: 1.6;
  font-style: italic;
}

h2 {
  font-family: 'Helvetica Neue', 'Arial', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 48px;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

h3 {
  font-family: 'Helvetica Neue', 'Arial', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
}

p + p {
  margin-top: 0;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

a:hover {
  text-decoration-color: var(--text);
}

em {
  font-style: italic;
}

strong {
  font-weight: 600;
}

blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  border-left: 2px solid var(--border);
  color: var(--text-light);
  font-style: italic;
}

/* ── Home page ── */

.home-intro {
  margin-top: 80px;
  margin-bottom: 80px;
}

.home-intro h1 {
  font-size: 2.4rem;
  font-weight: 300;
  margin-bottom: 12px;
}

.home-intro .lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 640px;
}

.home-nav {
  list-style: none;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.home-nav li {
  margin-bottom: 16px;
}

.home-nav a {
  font-family: 'Helvetica Neue', 'Arial', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--text);
}

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

.home-nav .nav-desc {
  display: block;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 0.88rem;
  color: var(--text-light);
  letter-spacing: 0;
  margin-top: 2px;
}

/* ── Hero image ── */

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 48px;
}

/* ── Exhibition list ── */

.exhibition-list {
  list-style: none;
}

.exhibition-list li {
  padding: 6px 0;
  display: flex;
  gap: 16px;
  line-height: 1.5;
}

.exhibition-list .year {
  font-family: 'Helvetica Neue', 'Arial', sans-serif;
  font-size: 0.88rem;
  color: var(--text-light);
  min-width: 48px;
  flex-shrink: 0;
  padding-top: 2px;
}

.exhibition-list .show {
  font-size: 0.95rem;
}

.exhibition-list .venue {
  color: var(--text-light);
}

/* ── Collections table ── */

.collection-entry {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
}

.collection-entry:last-child {
  border-bottom: none;
}

.collection-entry .institution {
  font-family: 'Helvetica Neue', 'Arial', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}

.collection-entry .location {
  font-family: 'Helvetica Neue', 'Arial', sans-serif;
  font-size: 0.82rem;
  color: var(--text-lighter);
  margin-bottom: 8px;
}

.collection-entry .details {
  font-size: 0.95rem;
  color: var(--text);
}

.collection-entry .note {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ── Film credits table ── */

.film-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.film-table th {
  font-family: 'Helvetica Neue', 'Arial', sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  text-align: left;
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid var(--border);
}

.film-table td {
  font-size: 0.95rem;
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.film-table td:first-child {
  font-family: 'Helvetica Neue', 'Arial', sans-serif;
  color: var(--text-light);
  white-space: nowrap;
  width: 90px;
}

.film-table td em {
  font-style: italic;
}


/* ── Awards list ── */

.awards-list {
  list-style: none;
}

.awards-list li {
  padding: 4px 0;
  font-size: 0.95rem;
}

.awards-list .year {
  font-family: 'Helvetica Neue', 'Arial', sans-serif;
  color: var(--text-light);
}

/* ── Contact ── */

.contact-block {
  margin-top: 48px;
  padding: 32px;
  border: 1px solid var(--border);
  background: #fff;
}

.contact-block p {
  margin-bottom: 12px;
}

.contact-block .email {
  font-family: 'Helvetica Neue', 'Arial', sans-serif;
  font-size: 1.05rem;
}

/* ── Footer ── */

footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  font-family: 'Helvetica Neue', 'Arial', sans-serif;
  font-size: 0.76rem;
  color: var(--text-lighter);
  letter-spacing: 0.04em;
}

/* ── Source note ── */

.source-note {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-light);
  font-style: italic;
}

/* ── Gallery grid ── */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0 48px;
}

.gallery-item {
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
}

.gallery-item.landscape {
  grid-column: 1 / -1;
}

.gallery-link {
  display: block;
  text-decoration: none;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.2s;
}

.gallery-item:hover img {
  opacity: 0.9;
}

/* ── Lightbox ── */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: pointer;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

/* ── Responsive ── */

@media (max-width: 480px) {
  html { font-size: 16px; }
  main { padding: 32px 16px 60px; }
  .home-intro { margin-top: 48px; margin-bottom: 48px; }
  .home-intro h1 { font-size: 1.8rem; }
  h1 { font-size: 1.5rem; }
  .film-table td:first-child { width: 70px; }
  .exhibition-list li { flex-direction: column; gap: 2px; }
  .exhibition-list .year { min-width: unset; }
  .gallery-grid { grid-template-columns: 1fr; gap: 12px; }
}
