/* Mesozoic Research Center - shared lab stylesheet */

:root {
  --bone-dust: #DCC0C0;
  --shale-ink: #3C381A;
  --rust-jacket: #D47444;
  --dig-deep: #1E2C4E;
  --grid-slate: #524A50;
  --tag-mist: #ECD2D2;
  --matrix-teal: #4A8084;
  --brush-brass: #7E6224;
  --dig-deep-soft: #2B3C5E;
  --grid-slate-light: #6A6168;
  --tag-line: #C9A8A8;
  --rust-deep: #A8522A;
  --bone-lift: #E8D2D2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: Georgia, "Times New Roman", Times, serif;
  background-color: #DCC0C0;
  color: #3C381A;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: #A8522A;
  text-decoration: none;
}

a:hover {
  color: #7E6224;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.18;
  margin: 0 0 0.5em;
  color: #3C381A;
}

p {
  margin: 0 0 1em;
}

ul, ol {
  margin: 0 0 1rem 0;
  padding-left: 1.2rem;
}

/* ---------- DIG GRID HEADER ---------- */

.diggrid {
  background-color: #1E2C4E;
  border-bottom: 5px solid #A8522A;
  padding: 0;
}

.diggrid-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 26px;
  flex-wrap: wrap;
}

.diggrid-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #E8D2D2;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 700;
}

.diggrid-brand:hover {
  color: #ECD2D2;
}

.diggrid-brand-dot {
  width: 12px;
  height: 12px;
  background-color: #7E6224;
  border: 2px solid #E8D2D2;
  display: inline-block;
  flex: 0 0 auto;
}

.diggrid-toggle {
  display: none;
  background-color: #D47444;
  color: #1E2C4E;
  border: 2px solid #E8D2D2;
  font-family: Georgia, serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 700;
}

.diggrid-squares {
  display: flex;
  align-items: stretch;
  gap: 6px;
  padding: 0 26px 14px;
  flex-wrap: wrap;
}

.diggrid-square {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background-color: #E8D2D2;
  border: 2px solid #4A8084;
  padding: 9px 14px;
  color: #3C381A;
  font-size: 0.86rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.diggrid-square:hover {
  background-color: #ECD2D2;
  color: #1E2C4E;
  border-color: #D47444;
}

.diggrid-pin {
  width: 9px;
  height: 9px;
  background-color: #D47444;
  display: inline-block;
  flex: 0 0 auto;
  transform: rotate(45deg);
}

.diggrid-sq-a { flex: 0 0 120px; }
.diggrid-sq-b { flex: 0 0 170px; }
.diggrid-sq-c { flex: 0 0 150px; }
.diggrid-sq-d { flex: 0 0 195px; }
.diggrid-sq-e { flex: 0 0 160px; }

/* ---------- HERO FOSSIL BENCH ---------- */

.fossilbench {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 26px 0;
}

.fossilbench-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1E2C4E;
  background-color: #ECD2D2;
  border-left: 6px solid #4A8084;
  padding: 6px 12px;
  margin-bottom: 22px;
  font-weight: 700;
}

.fossilbench-title {
  font-size: clamp(2.1rem, 4.8vw, 3.9rem);
  max-width: 15ch;
  margin-bottom: 0.35em;
  color: #3C381A;
}

.fossilbench-title-line {
  display: block;
}

.fossilbench-title-word {
  display: block;
  font-size: 1.22em;
  color: #D47444;
  letter-spacing: -0.01em;
  line-height: 1.02;
  margin-top: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.fossilbench-intro {
  max-width: 60ch;
  font-size: 1.06rem;
  color: #3C381A;
  margin-bottom: 16px;
}

.fossilbench-intro strong {
  color: #1E2C4E;
}

.fossilbench-inline-link {
  display: inline-block;
  font-weight: 700;
  color: #A8522A;
  border-bottom: 2px solid #7E6224;
  padding-bottom: 1px;
}

.fossilbench-inline-link:hover {
  color: #7E6224;
  border-bottom-color: #A8522A;
}

.fossilbench-note {
  font-size: 0.9rem;
  color: #4A4240;
  max-width: 62ch;
  margin: 4px 0 34px;
}

/* ---- bench band ---- */

.band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border: 3px solid #3C381A;
  border-bottom: 0;
  background-color: #3C381A;
}

.band-cell {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-right: 3px solid #3C381A;
}

.band-cell:last-child {
  border-right: 0;
}

/* LEFT: fossil bench with air scribe */

.band-left {
  background-color: #E8D2D2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 26px 20px 0;
}

.bench-bench {
  width: 100%;
  height: 100%;
  position: relative;
}

.bench-top {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 92px;
  height: 20px;
  background-color: #524A50;
  border-top: 4px solid #6A6168;
  border-bottom: 4px solid #3C381A;
}

.bench-legs {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 92px;
  display: flex;
  justify-content: space-between;
}

.bench-leg {
  width: 16px;
  height: 92px;
  background-color: #3C381A;
}

.bench-leg.mid {
  width: 10px;
  height: 92px;
  background-color: #524A50;
}

.bench-vice {
  position: absolute;
  left: 14px;
  bottom: 112px;
  width: 38px;
  height: 26px;
  background-color: #4A8084;
  border: 3px solid #3C381A;
}

.bench-scribe {
  position: absolute;
  right: 26px;
  bottom: 112px;
  width: 12px;
  height: 74px;
  background-color: #D47444;
  border: 3px solid #3C381A;
  transform: rotate(-14deg);
  transform-origin: bottom center;
}

.bench-scribe::after {
  content: "";
  position: absolute;
  top: -18px;
  left: -5px;
  width: 16px;
  height: 20px;
  background-color: #3C381A;
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 50% 34%, 0 0);
}

.bench-scribe-hose {
  position: absolute;
  right: 6px;
  bottom: 176px;
  width: 46px;
  height: 34px;
  border: 4px solid #4A8084;
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(30deg);
}

.bench-block {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 112px;
  width: 96px;
  height: 58px;
  background-color: #ECD2D2;
  border: 4px solid #3C381A;
}

.bench-block::before {
  content: "";
  position: absolute;
  inset: 12px 14px;
  background-color: #D47444;
  clip-path: polygon(10% 60%, 30% 30%, 46% 44%, 62% 14%, 84% 38%, 94% 70%, 66% 86%, 30% 80%);
}

.bench-brush {
  position: absolute;
  left: 58px;
  bottom: 112px;
  width: 58px;
  height: 34px;
  background-color: #7E6224;
  border: 3px solid #3C381A;
}

.bench-lamp {
  position: absolute;
  top: 24px;
  right: 34px;
  width: 4px;
  height: 100px;
  background-color: #3C381A;
}

.bench-lamp::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -22px;
  width: 48px;
  height: 24px;
  background-color: #D47444;
  border: 3px solid #3C381A;
}

.bench-caption {
  position: absolute;
  top: 16px;
  left: 18px;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1E2C4E;
  background-color: #ECD2D2;
  padding: 3px 7px;
  border: 2px solid #4A8084;
  font-weight: 700;
  z-index: 2;
}

/* CENTER: specimen cases beside a dig grid */

.band-center {
  background-color: #1E2C4E;
  padding: 22px 20px;
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.specimencase-stack {
  flex: 0 0 123px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.specimencase-drawer {
  flex: 1 1 0;
  background-color: #ECD2D2;
  border: 3px solid #3C381A;
  position: relative;
  min-height: 34px;
}

.specimencase-drawer::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 5px;
  background-color: #524A50;
}

.specimencase-drawer::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 8px;
  bottom: 8px;
  width: 34px;
  border: 2px solid #C9A8A8;
  background-color: #E8D2D2;
}

.specimencase-tag {
  position: absolute;
  top: 16px;
  right: 12px;
  color: #ECD2D2;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  background-color: #4A8084;
  padding: 3px 6px;
  border: 2px solid #ECD2D2;
  z-index: 3;
}

.diggridwall {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(5, 1fr);
  border: 3px solid #ECD2D2;
  min-height: 260px;
  align-self: center;
}

.diggridwall span {
  border: 1px solid #6A6168;
  background-color: #2B3C5E;
  position: relative;
}

.diggridwall span.mark {
  background-color: #4A8084;
}

.diggridwall span.mark::after {
  content: "";
  position: absolute;
  inset: 26% 22%;
  border: 3px solid #ECD2D2;
  transform: rotate(45deg);
}

/* RIGHT: field journal stand above a jacketed block */

.band-right {
  background-color: #E8D2D2;
  padding: 22px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.journal-stand {
  width: 74%;
  max-width: 190px;
  background-color: #ECD2D2;
  border: 3px solid #3C381A;
  transform: rotate(-3deg);
  padding: 10px 10px 14px;
  position: relative;
  margin-top: 8px;
}

.journal-stand::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -26px;
  width: 6px;
  height: 26px;
  background-color: #3C381A;
}

.journal-rule {
  height: 4px;
  background-color: #C9A8A8;
  margin: 7px 0;
}

.journal-rule.short {
  width: 58%;
}

.journal-rule.brass {
  background-color: #7E6224;
  width: 30%;
}

.jacket-block {
  width: 100%;
  height: 132px;
  margin-top: 40px;
  background-color: #4A8084;
  border: 4px solid #3C381A;
  border-radius: 8px 8px 0 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jacket-block::before {
  content: "";
  width: 54px;
  height: 54px;
  border: 4px dashed #ECD2D2;
  border-radius: 50%;
}

.jacket-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: #ECD2D2;
  border: 2px solid #3C381A;
  color: #1E2C4E;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 6px;
  font-weight: 700;
}

/* ---- primary CTA bar ---- */

.fossilbench-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background-color: #D47444;
  border: 3px solid #3C381A;
  border-top: 0;
  color: #1E2C4E;
  padding: 18px 26px;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.fossilbench-cta:hover {
  background-color: #A8522A;
  color: #E8D2D2;
}

.fossilbench-cta-arrow {
  font-size: 1.4rem;
  line-height: 1;
}

/* ---------- SPECIMEN CASE REGISTRY ---------- */

.registry {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 26px 60px;
}

.registry-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.registry-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  max-width: 20ch;
  margin: 0;
}

.registry-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1E2C4E;
  font-weight: 700;
  border-bottom: 3px solid #7E6224;
  padding-bottom: 4px;
}

.registry-lead {
  max-width: 64ch;
  color: #3C381A;
  font-size: 1.02rem;
  margin-bottom: 44px;
}

.registry-case {
  position: relative;
  border-top: 3px solid #524A50;
  padding-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px 0;
}

.registry-card {
  background-color: #ECD2D2;
  border: 3px solid #524A50;
  padding: 22px 20px 20px;
  position: relative;
  box-shadow: 7px 7px 0 #C9A8A8;
}

.registry-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
  color: #1E2C4E;
}

.registry-card p {
  font-size: 0.94rem;
  margin-bottom: 8px;
  color: #3C381A;
}

.registry-card .registry-more {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #A8522A;
  border-bottom: 2px solid #7E6224;
}

.registry-card .registry-more:hover {
  color: #7E6224;
}

.registry-mark {
  position: absolute;
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #D47444;
  line-height: 1;
  background-color: #E8D2D2;
  border: 2px solid #D47444;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.registry-r1 { width: 46%; margin-top: 0; }
.registry-r2 { width: 38%; margin-top: 46px; }
.registry-r3 { width: 43%; margin-top: -12px; }
.registry-r4 { width: 49%; margin-top: 28px; }
.registry-r5 { width: 35%; margin-top: -6px; }
.registry-r6 { width: 44%; margin-top: 52px; }

.registry-r1 .registry-mark { top: -16px; right: 18px; transform: rotate(6deg); }
.registry-r2 .registry-mark { bottom: -15px; left: 14px; transform: rotate(-7deg); }
.registry-r3 .registry-mark { top: 12px; left: -16px; transform: rotate(3deg); }
.registry-r4 .registry-mark { bottom: 10px; right: -14px; transform: rotate(-4deg); }
.registry-r5 .registry-mark { top: -18px; left: 22px; transform: rotate(8deg); }
.registry-r6 .registry-mark { bottom: -16px; right: 20px; transform: rotate(-6deg); }

/* ---------- SERVICES NARRATIVE ---------- */

.specimencasenotes {
  background-color: #ECD2D2;
  border-top: 4px solid #4A8084;
  border-bottom: 4px solid #4A8084;
}

.casenotes-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 66px 26px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.casenotes-side {
  position: relative;
}

.casenotes-side h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 16px;
}

.casenotes-side p {
  color: #3C381A;
}

.casenotes-plate {
  margin-top: 26px;
  background-color: #1E2C4E;
  border: 3px solid #3C381A;
  padding: 18px 18px;
  color: #E8D2D2;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.casenotes-plate strong {
  color: #D47444;
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.casenotes-body h3 {
  font-size: 1.16rem;
  color: #1E2C4E;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 2px solid #C9A8A8;
}

.casenotes-body h3:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.casenotes-body p {
  color: #3C381A;
  font-size: 1rem;
}

.casenotes-body a {
  color: #A8522A;
  font-weight: 700;
  border-bottom: 2px solid #7E6224;
}

.casenotes-body a:hover {
  color: #7E6224;
}

/* ---------- FIELD JOURNAL LEDGER BAND ---------- */

.fieldjournal {
  background-color: #1E2C4E;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 26px;
  flex-wrap: wrap;
}

.fieldjournal-dots {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.fieldjournal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #E8D2D2;
  display: inline-block;
}

.fieldjournal-dot.brass {
  background-color: #D47444;
}

.fieldjournal-text {
  color: #E8D2D2;
  font-size: 1rem;
  margin: 0;
  max-width: 92ch;
}

.fieldjournal-text strong {
  color: #D47444;
}

/* ---------- LAB NOTES / ABOUT ROWS ---------- */

.labnotes {
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 26px 46px;
}

.labnotes-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  max-width: 24ch;
  margin-bottom: 12px;
}

.labnotes-lead {
  max-width: 66ch;
  margin-bottom: 40px;
}

.labnotes-rows {
  border-top: 3px solid #524A50;
}

.labnotes-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 2px solid #C9A8A8;
  align-items: baseline;
}

.labnotes-row-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1E2C4E;
  font-weight: 700;
  border-left: 5px solid #4A8084;
  padding-left: 10px;
}

.labnotes-row-body {
  color: #3C381A;
}

.labnotes-row-body h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
  color: #3C381A;
}

.labnotes-row-body p {
  margin-bottom: 6px;
  font-size: 0.98rem;
}

/* ---------- NOTE PANEL (teal secondary) ---------- */

.note-panel {
  max-width: 1180px;
  margin: 0 auto 60px;
  padding: 0 26px;
}

.note-panel-inner {
  background-color: #4A8084;
  border: 3px solid #1E2C4E;
  padding: 34px 32px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  align-items: center;
}

.note-panel-inner h2 {
  color: #1E2C4E;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.note-panel-inner p {
  color: #1E2C4E;
  margin-bottom: 0;
}

.note-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.note-panel-list li {
  background-color: #ECD2D2;
  border-left: 5px solid #A8522A;
  padding: 9px 12px;
  margin-bottom: 8px;
  color: #3C381A;
  font-size: 0.94rem;
}

/* ---------- DIG WALL FOOTER ---------- */

.digwall {
  background-color: #1E2C4E;
  color: #E8D2D2;
  position: relative;
  border-top: 6px solid #D47444;
  overflow: hidden;
}

.digwall-strings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, #2B3C5E 1px, transparent 1px),
    linear-gradient(to bottom, #2B3C5E 1px, transparent 1px);
  background-size: 54px 54px;
}

.digwall-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 26px 30px;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 40px;
}

.digwall-brand {
  font-size: 1.22rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ECD2D2;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.digwall-brand-dot {
  width: 12px;
  height: 12px;
  background-color: #7E6224;
  border: 2px solid #ECD2D2;
  display: inline-block;
}

.digwall-blurb {
  color: #E8D2D2;
  font-size: 0.94rem;
  max-width: 40ch;
  margin: 0;
}

.digwall-brush {
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 34px;
}

.digwall-bristle {
  width: 7px;
  background-color: #ECD2D2;
  border: 1px solid #3C381A;
}

.digwall-bristle.b1 { height: 18px; }
.digwall-bristle.b2 { height: 26px; }
.digwall-bristle.b3 { height: 30px; }
.digwall-bristle.b4 { height: 22px; }
.digwall-bristle.b5 { height: 14px; }
.digwall-bristle.b6 { height: 20px; }
.digwall-bristle.b7 { height: 10px; }

.digwall-colhead {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7E6224;
  font-weight: 700;
  margin-bottom: 12px;
  border-bottom: 2px solid #4A8084;
  padding-bottom: 6px;
  display: inline-block;
}

.digwall-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.digwall-list li {
  margin-bottom: 8px;
}

.digwall-list a {
  color: #ECD2D2;
  font-size: 0.96rem;
  border-bottom: 1px solid #2B3C5E;
  padding-bottom: 1px;
}

.digwall-list a:hover {
  color: #D47444;
  border-bottom-color: #7E6224;
}

.digwall-strip {
  position: relative;
  border-top: 2px solid #4A8084;
  margin-top: 6px;
}

.digwall-strip-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 26px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
  color: #E8D2D2;
  font-size: 0.88rem;
}

.digwall-strip-inner a {
  color: #ECD2D2;
  border-bottom: 1px solid #2B3C5E;
}

.digwall-strip-inner a:hover {
  color: #D47444;
}

.digwall-pin {
  width: 8px;
  height: 8px;
  background-color: #D47444;
  transform: rotate(45deg);
  display: inline-block;
  margin-right: 6px;
}

.digwall-sep {
  color: #4A8084;
}

/* ---------- page header for secondary pages ---------- */

.pagehead {
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 26px 8px;
}

.pagehead-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1E2C4E;
  font-weight: 700;
  border-left: 6px solid #D47444;
  padding-left: 10px;
  margin-bottom: 16px;
  display: inline-block;
}

.pagehead h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 22ch;
}

.pagehead p {
  max-width: 66ch;
  font-size: 1.04rem;
}

/* ---------- services page ---------- */

.serviceblocks {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 26px 20px;
}

.serviceblock {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 2px solid #C9A8A8;
}

.serviceblock:first-child {
  border-top: 3px solid #524A50;
}

.serviceblock-letter {
  width: 60px;
  height: 60px;
  background-color: #ECD2D2;
  border: 3px solid #D47444;
  color: #D47444;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.serviceblock h2 {
  font-size: 1.4rem;
  color: #1E2C4E;
  margin-bottom: 8px;
}

.serviceblock p {
  max-width: 74ch;
}

.serviceblock ul {
  font-size: 0.96rem;
}

.processo {
  background-color: #ECD2D2;
  border-top: 4px solid #4A8084;
}

.processo-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 26px;
}

.processo-inner h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-bottom: 12px;
}

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

.processo-step {
  background-color: #E8D2D2;
  border-top: 6px solid #524A50;
  padding: 20px 18px;
}

.processo-step span {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1E2C4E;
  font-weight: 700;
  margin-bottom: 8px;
}

.processo-step h3 {
  font-size: 1.06rem;
  margin-bottom: 6px;
}

.processo-step p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

.cta-band {
  background-color: #D47444;
  border-top: 3px solid #3C381A;
  border-bottom: 3px solid #3C381A;
}

.cta-band-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-band-inner p {
  margin: 0;
  color: #1E2C4E;
  font-size: 1.08rem;
  font-weight: 700;
  max-width: 70ch;
}

.cta-band-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #1E2C4E;
  color: #ECD2D2;
  border: 3px solid #1E2C4E;
  padding: 13px 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.cta-band-link:hover {
  background-color: #ECD2D2;
  color: #1E2C4E;
  border-color: #3C381A;
}

/* ---------- contact page ---------- */

.contactgrid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 26px 60px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: start;
}

.contactform {
  background-color: #ECD2D2;
  border: 3px solid #524A50;
  padding: 28px 26px;
}

.contactform h2 {
  font-size: 1.36rem;
  color: #1E2C4E;
  margin-bottom: 6px;
}

.contactform-note {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.contactform-field {
  margin-bottom: 16px;
}

.contactform-field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #1E2C4E;
  margin-bottom: 6px;
}

.contactform-field input,
.contactform-field textarea {
  width: 100%;
  font-family: Georgia, serif;
  font-size: 0.98rem;
  color: #3C381A;
  background-color: #E8D2D2;
  border: 2px solid #6A6168;
  padding: 10px 12px;
}

.contactform-field input:focus,
.contactform-field textarea:focus {
  outline: 3px solid #4A8084;
  outline-offset: 0;
  border-color: #1E2C4E;
}

.contactform-field textarea {
  min-height: 140px;
  resize: vertical;
}

.contactform-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #D47444;
  color: #1E2C4E;
  border: 3px solid #3C381A;
  padding: 12px 24px;
  font-family: Georgia, serif;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.contactform-submit:hover {
  background-color: #A8522A;
  color: #E8D2D2;
}

.contactform-status {
  margin: 14px 0 0;
  font-size: 0.9rem;
  color: #1E2C4E;
  font-weight: 700;
}

.contactside-block {
  background-color: #E8D2D2;
  border-left: 6px solid #4A8084;
  padding: 18px 18px 14px;
  margin-bottom: 20px;
}

.contactside-block h3 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1E2C4E;
  margin-bottom: 10px;
  border-bottom: 2px solid #C9A8A8;
  padding-bottom: 8px;
}

.contactside-block p {
  margin-bottom: 6px;
  font-size: 0.96rem;
}

.contactside-block a {
  color: #A8522A;
  font-weight: 700;
}

.contactside-block a:hover {
  color: #7E6224;
}

.contactside-hours {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.94rem;
}

.contactside-hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed #C9A8A8;
  padding: 5px 0;
}

.contactside-hours li span:last-child {
  color: #1E2C4E;
  font-weight: 700;
}

.faq {
  background-color: #E8D2D2;
  border-top: 4px solid #4A8084;
}

.faq-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 26px 60px;
}

.faq-inner h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-bottom: 22px;
}

.faq-item {
  border-bottom: 2px solid #C9A8A8;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 16px 0;
  font-family: Georgia, serif;
  font-size: 1.04rem;
  font-weight: 700;
  color: #1E2C4E;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.faq-question:hover {
  color: #A8522A;
}

.faq-qmark {
  color: #D47444;
  font-size: 1.3rem;
  line-height: 1;
  flex: 0 0 auto;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding-bottom: 16px;
  max-width: 76ch;
  font-size: 0.96rem;
}

.faq-item.open .faq-answer {
  max-height: 320px;
}

.faq-item.open .faq-qmark {
  color: #7E6224;
}

/* ---------- reveal states ---------- */

.reveal {
  transform: translateY(16px);
  transition: transform 0.55s ease;
}

.reveal.is-in {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transform: none;
    transition: none;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .band {
    grid-template-columns: 1fr 1fr;
  }
  .band-cell:nth-child(2) {
    border-right: 0;
  }
  .band-cell:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 3px solid #3C381A;
    min-height: 300px;
  }
  .band-right {
    flex-direction: row;
    align-items: flex-end;
    gap: 26px;
    justify-content: center;
  }
  .journal-stand {
    margin-top: 0;
  }
  .jacket-block {
    margin-top: 0;
    max-width: 260px;
  }
  .casenotes-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .note-panel-inner {
    grid-template-columns: 1fr;
  }
  .digwall-inner {
    grid-template-columns: 1fr 1fr;
  }
  .digwall-blurbcell {
    grid-column: 1 / -1;
  }
  .processo-steps {
    grid-template-columns: 1fr 1fr;
  }
  .contactgrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .diggrid-toggle {
    display: inline-block;
  }
  .diggrid-squares {
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 0 16px 16px;
  }
  .diggrid-squares.open {
    display: flex;
  }
  .diggrid-square {
    width: 100%;
    flex: 1 1 auto;
  }
  .diggrid-bar {
    padding: 14px 16px;
  }
  .band {
    grid-template-columns: 1fr;
  }
  .band-cell {
    border-right: 0;
    border-bottom: 3px solid #3C381A;
  }
  .band-cell:nth-child(3) {
    border-top: 0;
  }
  .registry-card {
    width: 100%;
    margin-top: 0;
  }
  .registry-case {
    gap: 26px 0;
  }
  .labnotes-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .serviceblock {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .processo-steps {
    grid-template-columns: 1fr;
  }
  .digwall-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .fossilbench {
    padding-top: 34px;
  }
}
