:root {
  --black: #171816;
  --industrial: #41464b;
  --murdock: #6f7355;
  --face: #e8dfc8;
  --beige: #c6b691;
  --paper: #f4f0e5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
  color: var(--black);
  line-height: 1.6;
}

.site-header {
  border-bottom: 1px solid rgba(0,0,0,.15);
  background: rgba(244,240,229,.96);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-wrap {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--black);
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-text {
  font-weight: 800;
  letter-spacing: .08em;
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}

nav a:hover {
  color: var(--murdock);
}

.hero {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72vh;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 70px;
  align-items: center;
  padding: 80px 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 800;
  color: var(--murdock);
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 8vw, 96px);
  line-height: .95;
  margin: 18px 0 24px;
  letter-spacing: -.04em;
}

.tagline {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-style: italic;
  margin-bottom: 26px;
}

.hero p {
  max-width: 700px;
  font-size: 18px;
  color: #55564f;
}

.hero-card {
  background: var(--industrial);
  color: var(--face);
  padding: 34px;
  border-radius: 18px;
}

.hero-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.2;
  margin-top: 0;
}

.pillars {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 90px;
}

.pillars h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.pillar {
  background: var(--face);
  padding: 28px;
  border-radius: 16px;
  min-height: 240px;
}

.pillar span {
  font-size: 12px;
  font-weight: 800;
  color: var(--murdock);
  letter-spacing: .12em;
}

.pillar h3 {
  font-size: 25px;
  margin: 55px 0 10px;
}

.manifesto {
  background: var(--murdock);
  color: var(--face);
  padding: 70px 20px;
}

.manifesto-inner {
  width: min(1000px, calc(100% - 32px));
  margin: 0 auto;
}

.manifesto blockquote {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.15;
  margin: 0;
}

footer {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
  font-size: 13px;
  color: #77786f;
}

@media (max-width: 800px) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
  }

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

  nav {
    gap: 12px;
  }
}
/* =====================================================
   THE GALLERY
===================================================== */

.active-nav {
  color: var(--murdock);
}


/* ---------- Gallery Header ---------- */

.gallery-hero {
  background: var(--industrial);
  color: var(--face);
  padding: 100px 20px 90px;
}


.gallery-hero-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
}


.gallery-title {
  margin: 18px 0 25px;
  color: var(--face);
}


.gallery-intro {
  font-family: Georgia, "Times New Roman", serif;
  max-width: 820px;
  font-size: 24px;
  line-height: 1.5;
}


.gallery-philosophy {
  max-width: 760px;
  color: rgba(232, 223, 200, .7);
  margin-top: 28px;
}



/* ---------- Archive ---------- */

.archive-section {
  width: min(
    1100px,
    calc(100% - 32px)
  );

  margin: 0 auto;

  padding: 70px 0 100px;
}


.archive-controls {
  padding-bottom: 30px;
  border-bottom:
    1px solid rgba(0,0,0,.15);
}


.archive-search-wrap label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  margin-bottom: 8px;
}


.archive-search-wrap input {
  width: 100%;
  padding: 16px 18px;

  border:
    1px solid rgba(0,0,0,.18);

  border-radius: 8px;

  background: white;

  font-size: 16px;
}


.archive-search-wrap input:focus {
  outline: 2px solid var(--murdock);
  outline-offset: 2px;
}



/* ---------- Filters ---------- */

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}


.gallery-filter {
  appearance: none;

  border:
    1px solid var(--industrial);

  background: transparent;

  padding: 8px 14px;

  border-radius: 999px;

  cursor: pointer;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
}


.gallery-filter:hover,
.gallery-filter.active {
  color: var(--face);
  background: var(--industrial);
}



/* ---------- Gallery Grid ---------- */

.gallery-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 22px;

  margin-top: 35px;
}


.gallery-card {
  background: white;

  border:
    1px solid rgba(0,0,0,.12);

  border-radius: 12px;

  overflow: hidden;

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}


.gallery-card:hover {
  transform: translateY(-4px);

  box-shadow:
    0 14px 30px
    rgba(0,0,0,.09);
}



/* ---------- Card Image ---------- */

.gallery-card-image {
  height: 240px;

  background:
    var(--industrial);

  overflow: hidden;
}


.gallery-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.specimen-placeholder {
  height: 100%;

  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  color:
    rgba(232,223,200,.7);

  letter-spacing: .16em;

  font-size: 11px;
  font-weight: 800;
}


.specimen-placeholder span {
  display: grid;

  place-items: center;

  width: 72px;
  height: 72px;

  margin-bottom: 15px;

  border:
    2px solid
    rgba(232,223,200,.55);

  border-radius: 50%;

  font-size: 22px;
}



/* ---------- Card Text ---------- */

.gallery-card-body {
  padding: 22px;
}


.gallery-card-id {
  color: var(--murdock);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}


.gallery-card-body h2 {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  margin: 10px 0 4px;

  font-size: 26px;
}


.gallery-card-family {
  color: #64655f;
}


.gallery-card-meta {
  border-top:
    1px solid rgba(0,0,0,.12);

  margin-top: 19px;
  padding-top: 15px;

  display: flex;

  justify-content:
    space-between;

  gap: 15px;

  font-size: 11px;

  color: #77786f;
}


.record-button {
  margin-top: 20px;

  border: 0;
  padding: 0;

  background: none;

  cursor: pointer;

  color: var(--black);

  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}


.record-button:hover {
  color: var(--murdock);
}



/* ---------- Empty State ---------- */

.gallery-empty {
  text-align: center;
  padding: 80px 20px;
}


.archive-stamp {
  display: inline-block;

  padding: 7px 13px;

  border:
    2px solid var(--murdock);

  color: var(--murdock);

  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;

  transform: rotate(-2deg);
}



/* ---------- Statement ---------- */

.gallery-statement {
  background: var(--face);

  padding: 80px 20px;
}


.gallery-statement-inner {
  width: min(900px, 100%);

  margin: 0 auto;
}


.archive-number {
  color: var(--murdock);

  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
}


.gallery-statement blockquote {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(30px, 5vw, 52px);

  line-height: 1.2;

  margin:
    18px 0 25px;
}



/* =====================================================
   SPECIMEN RECORD MODAL
===================================================== */

.specimen-modal {
  position: fixed;

  inset: 0;

  z-index: 1000;

  display: none;

  align-items: center;
  justify-content: center;

  padding: 25px;
}


.specimen-modal.open {
  display: flex;
}


.specimen-modal-overlay {
  position: absolute;
  inset: 0;

  background:
    rgba(15,16,14,.78);
}


.specimen-modal-card {
  position: relative;
  z-index: 1;

  width: min(760px, 100%);

  max-height: 90vh;

  overflow-y: auto;

  background: var(--paper);

  padding: 38px;

  border-radius: 15px;

  box-shadow:
    0 30px 80px
    rgba(0,0,0,.35);
}


.modal-close {
  position: absolute;

  top: 15px;
  right: 18px;

  border: 0;

  background: transparent;

  font-size: 30px;

  cursor: pointer;
}


.modal-record-label {
  color: var(--murdock);

  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
}


.modal-specimen-id {
  margin-top: 25px;

  font-size: 13px;
  font-weight: 900;
}


.specimen-modal-card h2 {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 42px;

  margin:
    6px 0 30px;
}


.modal-record-grid {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 1px;

  background:
    rgba(0,0,0,.14);

  border:
    1px solid
    rgba(0,0,0,.14);
}


.modal-record-grid > div {
  background: var(--paper);

  padding: 17px;
}


.modal-record-grid span,
.modal-long-section span {
  display: block;

  color: var(--murdock);

  font-size: 10px;
  font-weight: 900;
  letter-spacing: .11em;
}


.modal-record-grid p {
  margin: 6px 0 0;
}


.modal-long-section {
  border-top:
    1px solid rgba(0,0,0,.14);

  margin-top: 25px;

  padding-top: 20px;
}



/* ---------- Mobile ---------- */

@media (max-width: 850px) {

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

}


@media (max-width: 600px) {

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


  .modal-record-grid {
    grid-template-columns:
      1fr;
  }


  .specimen-modal-card {
    padding:
      30px 22px;
  }

}


/* ==============================================
   CURATED CORROSION — PHYSICAL PALETTE OVERRIDES
   Paste at END of style.css
============================================== */

:root {
  --face: #c7c2a8;
  --murdock: #77765f;
  --industrial: #56564c;
  --black: #171814;
  --ivory: #e8dfc8;
  --paper: #ded8c3;

  --face-light: #d7d2bb;
  --murdock-dark: #5f604e;
  --industrial-dark: #40413a;
}


/* Main Gallery environment */

body {
  background: var(--face);
  color: var(--black);
}

.archive-section {
  background: var(--face);
}


/* Gallery entrance — Murdock becomes prominent */

.gallery-hero {
  background: var(--murdock);
  color: var(--ivory);
  border-bottom: 8px solid var(--industrial);
}

.gallery-title {
  color: var(--ivory);
}

.gallery-hero .eyebrow {
  color: var(--black);
}

.gallery-intro {
  color: var(--ivory);
}

.gallery-philosophy {
  color: rgba(232, 223, 200, .82);
}


/* Search feels integrated rather than white UI */

.archive-search-wrap input {
  background: var(--face-light);
  color: var(--black);
  border: 1px solid var(--industrial);
}

.archive-search-wrap input::placeholder {
  color: rgba(23, 24, 20, .55);
}


/* Filters */

.gallery-filter {
  border-color: var(--industrial);
  color: var(--industrial-dark);
}

.gallery-filter:hover,
.gallery-filter.active {
  background: var(--murdock);
  border-color: var(--murdock);
  color: var(--ivory);
}


/* Specimen cards */

.gallery-card {
  background: var(--face-light);
  border: 1px solid rgba(64, 65, 58, .35);
}

.gallery-card-image {
  background: var(--industrial);
}

.gallery-card-id {
  color: var(--murdock-dark);
}

.gallery-card-meta {
  border-color: rgba(64, 65, 58, .25);
}

.record-button {
  color: var(--industrial-dark);
}

.record-button:hover {
  color: var(--murdock-dark);
}


/* Collection principle section */

.gallery-statement {
  background: var(--murdock);
  color: var(--ivory);
  border-top: 8px solid var(--industrial);
}

.archive-number {
  color: var(--black);
}

.gallery-statement blockquote {
  color: var(--ivory);
}


/* Specimen record */

.specimen-modal-card {
  background: var(--face-light);
  border-top: 8px solid var(--murdock);
}

.modal-record-label,
.modal-record-grid span,
.modal-long-section span {
  color: var(--murdock-dark);
}

.modal-record-grid {
  background: var(--industrial);
  border-color: var(--industrial);
}

.modal-record-grid > div {
  background: var(--face-light);
}


/* Archive stamp */

.archive-stamp {
  color: var(--murdock-dark);
  border-color: var(--murdock-dark);
}


/* =====================================================
   SPECIMEN PHOTO RECORD
===================================================== */
.modal-photo-gallery { position: relative; margin: 22px 0 10px; min-height: 320px; background: #f1eee5; border: 1px solid rgba(0,0,0,.18); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.modal-main-image { display:block; width:100%; height:min(58vh,620px); object-fit:contain; }
.modal-photo-nav { position:absolute; top:50%; transform:translateY(-50%); z-index:2; width:44px; height:56px; border:0; background:rgba(20,20,20,.78); color:#fff; font-size:34px; line-height:1; cursor:pointer; }
.modal-photo-prev { left:10px; }
.modal-photo-next { right:10px; }
.modal-photo-strip { display:flex; gap:8px; overflow-x:auto; padding:2px 0 16px; }
.modal-photo-thumb { flex:0 0 auto; width:74px; height:74px; padding:0; border:2px solid transparent; background:transparent; cursor:pointer; }
.modal-photo-thumb.active { border-color:#111; }
.modal-photo-thumb img { display:block; width:100%; height:100%; object-fit:cover; }
@media (max-width:640px){ .modal-photo-gallery{min-height:220px}.modal-main-image{height:44vh}.modal-photo-nav{width:38px;height:48px} }

/* ===== SPECIMEN PHOTO GALLERY SIZE FIX ===== */

.modal-photo-gallery {
  min-height: 0;
  padding: 16px 60px;
}

.modal-main-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 440px;
  margin: 0 auto;
  object-fit: contain;
}

.modal-photo-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 4px;
  justify-content: flex-start;
}

.modal-photo-thumbnail {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.modal-photo-thumbnail.active {
  border-color: #111;
}

.modal-photo-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 640px) {
  .modal-photo-gallery {
    padding: 12px 42px;
  }

  .modal-main-image {
    max-height: 320px;
  }

  .modal-photo-thumbnail {
    width: 60px;
    height: 60px;
  }
}

