/* ============================================================
   BARNETT NEWMAN — COMPLETE DESIGN SYSTEM
   barnettnewman.com
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --ink:        #171717;
  --chalk:      #F4F2EC;
  --cobalt:     #244E9A;
  --oxide:      #963B32;
  --mineral:    #B7B4AC;
  --olive:      #62634A;
  --graphite:   #454545;
  --white:      #ffffff;
  --chalk-dark: #E8E5DC;

  --ff-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ff-body:    'Inter', system-ui, -apple-system, sans-serif;

  --nav-h: 64px;
  --max-w: 1320px;
  --text-w: 680px;
  --wide-w: 960px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--chalk);
  overflow-x: hidden;
  padding-top: var(--nav-h);
}

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

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

/* ============================================================
   NAVIGATION — STICKY, DARK
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  background: var(--ink);
  height: var(--nav-h);
  border-bottom: 1.5px solid var(--oxide);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  gap: 2rem;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 1px;
}

.nav-logo .logo-name {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--chalk);
  text-transform: uppercase;
}

.nav-logo .logo-dates {
  font-family: var(--ff-body);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--mineral);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex-wrap: nowrap;
}

.nav-links a {
  font-family: var(--ff-body);
  font-size: 0.67rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--mineral);
  text-transform: uppercase;
  padding: 0.4rem 0.6rem;
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}

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

.nav-links a.active {
  color: var(--oxide);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--chalk);
  transition: all 0.3s var(--ease);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--ink);
  z-index: 8999;
  padding: 1.5rem 2rem 2rem;
  border-bottom: 1.5px solid var(--oxide);
  flex-direction: column;
  gap: 0;
}

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

.nav-mobile a {
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--mineral);
  text-transform: uppercase;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s var(--ease);
}

.nav-mobile a:hover,
.nav-mobile a.active { color: var(--chalk); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--chalk);
  padding: 4rem 2rem 2rem;
  margin-top: 6rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand .brand-title {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--chalk);
  margin-bottom: 0.5rem;
}

.footer-brand .brand-dates {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--mineral);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--mineral);
  line-height: 1.65;
  max-width: 340px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mineral);
  transition: all 0.2s var(--ease);
}

.footer-social a:hover {
  border-color: var(--oxide);
  color: var(--oxide);
}

.footer-social svg { width: 15px; height: 15px; fill: currentColor; }

.footer-col h4 {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oxide);
  margin-bottom: 1rem;
}

.footer-col p,
.footer-col a {
  font-size: 0.82rem;
  color: var(--mineral);
  line-height: 1.8;
  display: block;
}

.footer-col a:hover { color: var(--chalk); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 0.72rem;
  color: var(--graphite);
  letter-spacing: 0.04em;
}

.footer-bottom a:hover { color: var(--mineral); }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: var(--text-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.container--wide {
  max-width: var(--wide-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-pad { padding: 5rem 0; }
.section-pad--sm { padding: 3rem 0; }
.section-pad--lg { padding: 8rem 0; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.display-xxl {
  font-family: var(--ff-display);
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.display-xl {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
}

.display-lg {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
}

.display-md {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
}

.label {
  font-family: var(--ff-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--graphite);
}

.label--oxide { color: var(--oxide); }
.label--cobalt { color: var(--cobalt); }
.label--chalk { color: var(--chalk); }

.body-lg {
  font-size: 1.125rem;
  line-height: 1.78;
  font-weight: 300;
}

.body-md {
  font-size: 1rem;
  line-height: 1.75;
}

.body-sm {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--graphite);
}

/* ============================================================
   HERO SECTIONS
   ============================================================ */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--chalk);
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 5rem;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Vertical zip accent on hero */
.hero-content::before {
  content: '';
  display: block;
  width: 2px;
  height: 80px;
  background: var(--oxide);
  margin-bottom: 2rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.hero-meta .label { color: var(--mineral); }

/* Page heroes (smaller than home) */
.page-hero {
  background: var(--ink);
  color: var(--chalk);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--oxide) 0%, transparent 100%);
}

.page-hero .container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

/* Color hero variants */
.hero--cobalt { background: var(--cobalt); color: var(--chalk); }
.hero--oxide  { background: var(--oxide);  color: var(--chalk); }
.hero--olive  { background: var(--olive);  color: var(--chalk); }

/* ============================================================
   ARTWORK DISPLAY
   ============================================================ */
.artwork-featured {
  background: var(--ink);
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.artwork-featured img {
  max-height: 70vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.artwork-caption {
  text-align: center;
  max-width: 540px;
}

.artwork-caption .title {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--chalk);
  display: block;
  margin-bottom: 0.25rem;
}

.artwork-caption .meta {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--mineral);
  text-transform: uppercase;
}

/* Painting card for major paintings page */
.painting-entry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 560px;
  border-top: 1px solid var(--chalk-dark);
  align-items: stretch;
}

.painting-entry:nth-child(even) { direction: rtl; }
.painting-entry:nth-child(even) > * { direction: ltr; }

.painting-img-wrap {
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  min-height: 480px;
}

.painting-img-wrap img {
  max-height: 440px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
}

.painting-text {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.painting-num {
  font-size: 4.5rem;
  font-family: var(--ff-display);
  font-weight: 300;
  color: var(--chalk-dark);
  line-height: 1;
  margin-bottom: -0.5rem;
}

.painting-title {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
}

.painting-meta {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--graphite);
  text-transform: uppercase;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--chalk-dark);
}

.painting-text p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--graphite);
}

/* ============================================================
   GALLERY GRID
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 3rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--ink);
}

.gallery-item img {
  width: 100%;
  height: 360px;
  object-fit: contain;
  background: var(--ink);
  transition: transform 0.4s var(--ease);
  display: block;
}

.gallery-item:hover img { transform: scale(1.02); }

.gallery-item-caption {
  padding: 0.75rem 1rem;
  background: var(--ink);
}

.gallery-item-caption .title {
  font-family: var(--ff-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--chalk);
  display: block;
}

.gallery-item-caption .meta {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--mineral);
  text-transform: uppercase;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(23, 23, 23, 0.96);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-height: 88vh;
  max-width: 90vw;
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none; border: none;
  color: var(--chalk);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.5rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}

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

/* ============================================================
   PULL QUOTE / BLOCKQUOTE
   ============================================================ */
.pull-quote {
  border-left: 3px solid var(--oxide);
  padding: 1.5rem 2rem;
  margin: 3rem 0;
}

.pull-quote blockquote {
  font-family: var(--ff-display);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.45;
  color: var(--ink);
}

.pull-quote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite);
  font-style: normal;
}

.pull-quote--chalk {
  border-left-color: var(--mineral);
  background: none;
}

.pull-quote--chalk blockquote { color: var(--chalk); }
.pull-quote--chalk cite { color: var(--mineral); }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  padding: 2rem 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 140px;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--chalk-dark);
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 40px 1fr;
  gap: 0;
  margin-bottom: 2.5rem;
  align-items: start;
}

.timeline-year {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--oxide);
  text-align: right;
  padding-right: 1.5rem;
  padding-top: 0.1rem;
}

.timeline-dot {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.4rem;
}

.timeline-dot::before {
  content: '';
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--oxide);
  flex-shrink: 0;
}

.timeline-content {
  padding-left: 1.5rem;
}

.timeline-content h3 {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.timeline-content p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--graphite);
}

/* Mobile timeline */
@media (max-width: 600px) {
  .timeline::before { left: 0; }
  .timeline-item {
    grid-template-columns: 0 24px 1fr;
    padding-left: 0;
  }
  .timeline-year {
    display: none;
  }
  .timeline-content h3::before {
    display: block;
    content: attr(data-year);
    font-family: var(--ff-body);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--oxide);
    text-transform: uppercase;
    margin-bottom: 0.2rem;
  }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 1.25rem;
}

.contact-info-item .label {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: var(--mineral);
  text-transform: uppercase;
  margin-bottom: 0.1rem;
}

.contact-info-item a,
.contact-info-item span {
  font-size: 1rem;
  color: var(--ink);
}

.contact-info-item a:hover { color: var(--oxide); }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite);
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--chalk-dark);
  border-radius: 0;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s var(--ease);
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--ink); }

.form-group input.error,
.form-group textarea.error { border-color: var(--oxide); }

.form-group textarea { min-height: 150px; resize: vertical; }

.form-hint {
  font-size: 0.72rem;
  color: var(--graphite);
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s var(--ease);
}

.btn--dark {
  background: var(--ink);
  color: var(--chalk);
}

.btn--dark:hover { background: var(--graphite); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--chalk);
}

/* Form status messages */
.form-status {
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  display: none;
}

.form-status.success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
  border-left: 3px solid #2e7d32;
}

.form-status.error {
  display: block;
  background: #fbe9e7;
  color: var(--oxide);
  border-left: 3px solid var(--oxide);
}

/* ============================================================
   SOURCES PAGE
   ============================================================ */
.sources-section { margin-bottom: 3rem; }

.sources-section h3 {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--chalk-dark);
}

.source-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--chalk-dark);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--graphite);
}

.source-item a { color: var(--cobalt); }
.source-item a:hover { text-decoration: underline; }

.source-item strong { color: var(--ink); font-weight: 500; }

/* ============================================================
   SECTION MARKERS
   ============================================================ */
.section-marker {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-marker .num {
  font-family: var(--ff-display);
  font-size: 5rem;
  font-weight: 300;
  color: var(--chalk-dark);
  line-height: 1;
  flex-shrink: 0;
}

.section-marker .info {}

.section-marker .info .label { display: block; margin-bottom: 0.2rem; }

.section-marker .info h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.1;
}

/* ============================================================
   COLOR FIELD VISUAL BLOCKS
   ============================================================ */
.color-block {
  padding: 5rem 2rem;
  position: relative;
}

.color-block--cobalt { background: var(--cobalt); color: var(--chalk); }
.color-block--oxide  { background: var(--oxide);  color: var(--chalk); }
.color-block--olive  { background: var(--olive);  color: var(--chalk); }
.color-block--ink    { background: var(--ink);    color: var(--chalk); }

.color-block .container p { max-width: var(--text-w); }

/* ============================================================
   TWO-COLUMN TEXT LAYOUT
   ============================================================ */
.two-col-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.two-col-text p {
  font-size: 0.95rem;
  line-height: 1.78;
  color: var(--graphite);
}

.two-col-text p + p { margin-top: 1rem; }

/* ============================================================
   INTRO PANEL (used on homepage)
   ============================================================ */
.intro-panel {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 4rem;
  align-items: center;
  padding: 6rem 0;
}

.intro-panel .divider { background: var(--chalk-dark); align-self: stretch; }

.intro-panel .intro-left .label { display: block; margin-bottom: 0.5rem; }

.intro-panel .intro-left h2 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.intro-panel .intro-right p {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--graphite);
  margin-bottom: 1rem;
}

/* ============================================================
   PAGES OVERVIEW GRID (home page)
   ============================================================ */
.pages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--chalk-dark);
}

.page-card {
  padding: 2rem;
  border-right: 1px solid var(--chalk-dark);
  border-bottom: 1px solid var(--chalk-dark);
  transition: background 0.2s var(--ease);
}

.page-card:hover { background: var(--chalk-dark); }

.page-card .num {
  font-family: var(--ff-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--chalk-dark);
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.page-card h3 {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.page-card p {
  font-size: 0.82rem;
  color: var(--graphite);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.page-card .link-arrow {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oxide);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ============================================================
   BIOGRAPHY SPECIFIC
   ============================================================ */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

.bio-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.bio-sidebar img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.bio-caption {
  margin-top: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--graphite);
  line-height: 1.5;
}

.bio-content h2 {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-weight: 400;
  margin: 2.5rem 0 0.75rem;
}

.bio-content h2:first-child { margin-top: 0; }

.bio-content p {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--graphite);
  margin-bottom: 1.1rem;
}

/* ============================================================
   PHILOSOPHY PAGE
   ============================================================ */
.phil-block {
  display: grid;
  grid-template-columns: 1px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2.5rem 0;
  border-top: 1px solid var(--chalk-dark);
}

.phil-block .zip-accent {
  width: 1px;
  background: var(--oxide);
  align-self: stretch;
  min-height: 60px;
}

.phil-block h3 {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  grid-column: 2;
}

.phil-block p {
  font-size: 0.95rem;
  line-height: 1.78;
  color: var(--graphite);
  grid-column: 2;
}

/* ============================================================
   SCULPTURE PAGE
   ============================================================ */
.sculpture-item {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-top: 1px solid var(--chalk-dark);
}

.sculpture-item:nth-child(even) { direction: rtl; }
.sculpture-item:nth-child(even) > * { direction: ltr; }

.sculpture-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  background: var(--ink);
  padding: 2rem;
}

.sculpture-text h3 {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.sculpture-text .meta {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--chalk-dark);
}

.sculpture-text p {
  font-size: 0.95rem;
  line-height: 1.78;
  color: var(--graphite);
  margin-bottom: 0.9rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .painting-entry {
    grid-template-columns: 1fr;
    direction: ltr !important;
  }

  .painting-entry:nth-child(even) { direction: ltr; }

  .intro-panel { grid-template-columns: 1fr; gap: 2rem; }
  .intro-panel .divider { display: none; }

  .pages-grid { grid-template-columns: repeat(2, 1fr); }

  .bio-grid { grid-template-columns: 1fr; gap: 3rem; }
  .bio-sidebar { position: static; }

  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }

  .sculpture-item { grid-template-columns: 1fr; direction: ltr !important; }
  .sculpture-item:nth-child(even) { direction: ltr; }
}

@media (max-width: 900px) {
  :root { --nav-h: 56px; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .two-col-text { grid-template-columns: 1fr; gap: 1.5rem; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  body { font-size: 15px; }

  .section-pad { padding: 3rem 0; }
  .section-pad--lg { padding: 4rem 0; }

  .pages-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr; }

  .hero { min-height: 75vh; padding-bottom: 3rem; }

  .hero-content::before { height: 48px; margin-bottom: 1.25rem; }

  .painting-text { padding: 2rem; }
  .painting-img-wrap { padding: 1.5rem; min-height: 280px; }
  .painting-img-wrap img { max-height: 280px; }

  .timeline::before { display: none; }
  .timeline-item { grid-template-columns: auto 1fr; gap: 1rem; }
  .timeline-dot { display: none; }
  .timeline-year {
    font-size: 0.85rem;
    text-align: left;
    padding-right: 0;
    white-space: nowrap;
    padding-top: 0.15rem;
    color: var(--oxide);
  }
  .timeline-content { padding-left: 0; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

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

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

/* Print */
@media print {
  .site-nav, .site-footer, .nav-mobile { display: none; }
  body { padding-top: 0; background: white; color: black; }
}

/* ============================================================
   PASSCODE PAGE (index.html standalone styles)
   ============================================================ */
.passcode-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  padding: 2rem;
}

.passcode-box {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.passcode-logo {
  text-align: center;
}

.passcode-logo .name {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--chalk);
  display: block;
}

.passcode-logo .dates {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--mineral);
  text-transform: uppercase;
  display: block;
  margin-top: 0.3rem;
}

.passcode-rule {
  width: 2px;
  height: 40px;
  background: var(--oxide);
  display: block;
  margin: 0 auto;
}

.passcode-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.passcode-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mineral);
  display: block;
  text-align: center;
}

.passcode-input {
  width: 100%;
  font-family: var(--ff-body);
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--chalk);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.9rem 1.25rem;
  text-align: center;
  outline: none;
  transition: border-color 0.2s var(--ease);
  -webkit-appearance: none;
  border-radius: 0;
}

.passcode-input:focus {
  border-color: rgba(255,255,255,0.35);
}

.passcode-input.error {
  border-color: var(--oxide);
  animation: shake 0.3s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-8px); }
  60%       { transform: translateX(8px); }
}

.passcode-btn {
  width: 100%;
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--chalk);
  border: none;
  padding: 1rem;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.passcode-btn:hover { background: var(--mineral); }

.passcode-error {
  font-size: 0.75rem;
  color: var(--oxide);
  text-align: center;
  letter-spacing: 0.08em;
  min-height: 1.2em;
}
