:root {
  --dossier: #D0CEE2;
  --inkblot: #344446;
  --markup-teal: #188A94;
  --benchwood: #885448;
  --bench-card: #FCEEE8;
  --clerk-blue: #3E4C7E;
  --seal-rose: #E08480;
  --page-bone: #F6F4EA;
  --rule-wood: #B49A8C;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: #188A94;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-to-desk {
  position: absolute;
  left: -9999px;
  top: 0;
  background-color: #344446;
  color: #D0CEE2;
  padding: 10px 18px;
  z-index: 40;
}

.skip-to-desk:focus {
  left: 12px;
  top: 12px;
}

/* ---------- Bench placard navigation ---------- */

.reviewbench {
  background-color: #344446;
  border-bottom: 6px solid #885448;
}

.reviewbench-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.reviewbench-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.reviewbench-clerkdot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #3E4C7E;
  box-shadow: 0 0 0 2px #FCEEE8;
  display: inline-block;
}

.reviewbench-wordmark {
  color: #FCEEE8;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  font-weight: bold;
  white-space: nowrap;
}

.reviewbench-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.reviewbench-placard {
  position: relative;
  background-color: #FCEEE8;
  color: #344446;
  border: 2px solid #885448;
  border-radius: 3px;
  padding: 8px 18px 8px 24px;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: bold;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.reviewbench-placard:hover {
  background-color: #D0CEE2;
  color: #344446;
  text-decoration: underline;
  text-decoration-color: #E08480;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.reviewbench-placard.is-current {
  background-color: #188A94;
  color: #FCEEE8;
  border-color: #FCEEE8;
}

.reviewbench-sealdot {
  position: absolute;
  left: 8px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background-color: #E08480;
  display: inline-block;
}

.reviewbench-toggle {
  display: none;
  margin-left: auto;
  background-color: #FCEEE8;
  color: #344446;
  border: 2px solid #885448;
  border-radius: 3px;
  padding: 8px 12px;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: bold;
}

.reviewbench-toggle-bar {
  display: inline-block;
  width: 16px;
  height: 2px;
  background-color: #344446;
}

.reviewbench-toggle-text {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: 4px;
}

/* ---------- Elk desk hero ---------- */

.elkdesk {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px 64px;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 56px;
  align-items: center;
}

.elkdesk-kicker {
  margin: 0 0 18px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3E4C7E;
  border-left: 4px solid #885448;
  padding-left: 12px;
}

.elkdesk-headline {
  margin: 0 0 24px;
  font-size: 2.75rem;
  line-height: 1.15;
  color: #344446;
  letter-spacing: -0.01em;
}

.elkdesk-display {
  display: inline-block;
  font-size: 4.4rem;
  line-height: 1;
  font-style: italic;
  color: #188A94;
  letter-spacing: -0.02em;
}

.elkdesk-lede {
  margin: 0 0 28px;
  font-size: 1.05rem;
  color: #344446;
  max-width: 42ch;
}

.elkdesk-inline-link {
  color: #188A94;
  font-weight: bold;
  border-bottom: 2px solid #E08480;
}

.elkdesk-inline-link:hover {
  text-decoration: none;
  border-bottom-color: #188A94;
}

.elkdesk-arrow {
  display: inline-block;
  margin-left: 4px;
}

.elkdesk-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background-color: #188A94;
  color: #FCEEE8;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: bold;
  letter-spacing: 0.06em;
  padding: 15px 26px;
  border-radius: 3px;
  border-bottom: 4px solid #344446;
  font-size: 0.98rem;
}

.elkdesk-cta:hover {
  background-color: #3E4C7E;
  text-decoration: none;
}

.elkdesk-cta-arrow {
  font-size: 1.2rem;
}

.elkdesk-ledgernote {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.elkdesk-ledgerline {
  width: 44px;
  height: 2px;
  background-color: #885448;
  margin-top: 12px;
  flex: 0 0 auto;
}

.elkdesk-ledgernote p {
  margin: 0;
  font-size: 0.9rem;
  color: #3E4C7E;
  max-width: 38ch;
}

/* Elk desk right: markup margin */

.elkdesk-right {
  display: flex;
  justify-content: center;
}

.elkdesk-margin {
  background-color: #FCEEE8;
  border: 3px solid #885448;
  border-radius: 4px;
  padding: 28px 26px 22px;
  width: 100%;
  max-width: 380px;
  box-shadow: 8px 8px 0 #344446;
}

.elkdesk-antler {
  height: 42px;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  border-bottom: 3px solid #885448;
  padding-bottom: 8px;
}

.elkdesk-antler-tine {
  display: inline-block;
  width: 8px;
  height: 26px;
  background-color: #885448;
  border-radius: 4px 4px 0 0;
  transform-origin: bottom center;
}

.elkdesk-antler-tine:nth-child(1) {
  height: 20px;
  transform: rotate(-14deg);
}

.elkdesk-antler-tine:nth-child(2) {
  height: 32px;
}

.elkdesk-antler-tine:nth-child(3) {
  height: 24px;
  transform: rotate(12deg);
}

.elkdesk-leaf {
  background-color: #F6F4EA;
  border-left: 4px solid #3E4C7E;
  padding: 18px 18px 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.elkdesk-leaf-line {
  display: block;
  height: 7px;
  background-color: #3E4C7E;
  border-radius: 3px;
}

.elkdesk-leaf-line--title {
  height: 12px;
  background-color: #344446;
  width: 70%;
  margin-bottom: 4px;
}

.elkdesk-leaf-line--short {
  width: 58%;
}

.elkdesk-leaf-note {
  align-self: flex-end;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #188A94;
  background-color: #FCEEE8;
  border-bottom: 2px solid #188A94;
  padding: 1px 6px;
}

.elkdesk-leaf-note--two {
  align-self: flex-start;
  color: #3E4C7E;
  border-bottom-color: #3E4C7E;
}

.elkdesk-margin-caption {
  margin: 18px 0 0;
  font-size: 0.8rem;
  color: #3E4C7E;
  font-style: italic;
}

/* ---------- Markup rows ---------- */

.markuprow {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px 64px;
}

.markuprow-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.markuprow-eyebrow {
  margin: 0 0 12px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #885448;
}

.markuprow-title {
  margin: 0 0 16px;
  font-size: 1.9rem;
  line-height: 1.25;
  color: #344446;
}

.markuprow-intro {
  margin: 0;
  color: #344446;
  font-size: 1rem;
}

.markuprow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid #885448;
}

.markuprow-item {
  display: grid;
  grid-template-columns: 64px 1fr 30px;
  gap: 22px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid #B49A8C;
  position: relative;
}

.markuprow-glyph {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.95rem;
  font-weight: bold;
  color: #3E4C7E;
  letter-spacing: 0.08em;
  padding-left: 12px;
  border-left: 3px solid #3E4C7E;
  padding-top: 3px;
  padding-bottom: 3px;
}

.markuprow-body h3 {
  margin: 0 0 6px;
  font-size: 1.28rem;
  color: #344446;
}

.markuprow-body h3 a {
  color: #344446;
  border-bottom: 2px solid #188A94;
}

.markuprow-body h3 a:hover {
  color: #188A94;
  text-decoration: none;
}

.markuprow-body p {
  margin: 0;
  color: #344446;
  font-size: 0.98rem;
  max-width: 78ch;
}

.markuprow-stamp {
  display: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #E08480;
  border: 2px solid #885448;
  margin-top: 6px;
}

.markuprow-item:nth-child(even) .markuprow-stamp {
  display: block;
}

.markuprow--how {
  padding-top: 48px;
  border-top: 2px solid #885448;
  max-width: 1180px;
}

/* ---------- Stamp band ---------- */

.stampband {
  background-color: #188A94;
  color: #D0CEE2;
  position: relative;
  padding: 62px 24px 40px;
  margin: 0 0 8px;
  border-top: 6px solid #885448;
  border-bottom: 6px solid #885448;
}

.stampband-seal {
  position: absolute;
  top: -38px;
  left: 50%;
  margin-left: -38px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background-color: #FCEEE8;
  border: 4px solid #885448;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 5px #188A94;
}

.stampband-monogram {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: bold;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: #344446;
}

.stampband-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.18rem;
  line-height: 1.6;
  color: #D0CEE2;
}

/* ---------- Bench prose ---------- */

.benchprose {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px;
}

.benchprose-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}

.benchprose-article h2 {
  font-size: 1.9rem;
  color: #344446;
  margin: 0 0 20px;
  line-height: 1.25;
}

.benchprose-article h3 {
  font-size: 1.25rem;
  color: #3E4C7E;
  margin: 30px 0 10px;
}

.benchprose-article p {
  margin: 0 0 16px;
  color: #344446;
  font-size: 1rem;
}

.benchprose-article a {
  color: #188A94;
  font-weight: bold;
  border-bottom: 2px solid #E08480;
}

.benchprose-article a:hover {
  text-decoration: none;
  border-bottom-color: #188A94;
}

.benchprose-side {
  background-color: #FCEEE8;
  border: 3px solid #885448;
  border-top: 8px solid #3E4C7E;
  border-radius: 3px;
  padding: 24px 22px;
}

.benchprose-side-title {
  font-size: 1.15rem;
  margin: 0 0 16px;
  color: #344446;
  letter-spacing: 0.02em;
}

.benchprose-facts {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.benchprose-facts li {
  padding: 10px 0;
  border-bottom: 1px solid #B49A8C;
  font-size: 0.92rem;
  color: #344446;
}

.benchprose-fact-label {
  display: block;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3E4C7E;
  margin-bottom: 2px;
}

.benchprose-side-link {
  display: inline-block;
  color: #188A94;
  font-weight: bold;
  border-bottom: 2px solid #E08480;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.9rem;
}

.benchprose-side-link:hover {
  text-decoration: none;
  border-bottom-color: #188A94;
}

/* ---------- Ledger row footer ---------- */

.ledgerrow2 {
  margin-top: 20px;
  background-color: #D0CEE2;
}

.ledgerrow2-rule {
  position: relative;
  height: 4px;
  background-color: #344446;
}

.ledgerrow2-book {
  position: absolute;
  left: 50%;
  top: -13px;
  margin-left: -15px;
  width: 30px;
  height: 22px;
  background-color: #FCEEE8;
  border: 2px solid #344446;
  border-left: 6px solid #885448;
  border-radius: 2px;
  display: inline-block;
}

.ledgerrow2-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 24px 42px;
  text-align: center;
}

.ledgerrow2-links {
  margin-bottom: 22px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.9rem;
  color: #3E4C7E;
}

.ledgerrow2-links a {
  color: #3E4C7E;
  padding: 2px 4px;
}

.ledgerrow2-links a:hover {
  color: #344446;
  text-decoration: underline;
  text-decoration-color: #E08480;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.ledgerrow2-dot {
  color: #885448;
  margin: 0 4px;
}

.ledgerrow2-brand {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #344446;
  letter-spacing: 0.04em;
}

.ledgerrow2-blurb {
  margin: 0 auto 22px;
  max-width: 62ch;
  font-size: 0.9rem;
  color: #3E4C7E;
}

.ledgerrow2-baseline {
  margin: 0;
  font-size: 0.84rem;
  color: #344446;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.ledgerrow2-baseline a {
  color: #344446;
  border-bottom: 1px solid #885448;
}

.ledgerrow2-baseline a:hover {
  color: #188A94;
  text-decoration: none;
}

.ledgerrow2-sep {
  color: #885448;
}

.ledgerrow2-seal {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #E08480;
  border: 1px solid #885448;
}

/* ---------- Scroll reveal ---------- */

.reveal-el {
  opacity: 1;
  transform: none;
}

.js-ready .reveal-el {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-ready .reveal-el.is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .elkdesk {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 48px;
  }

  .elkdesk-headline {
    font-size: 2.2rem;
  }

  .elkdesk-display {
    font-size: 3.2rem;
  }

  .benchprose-wrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

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

  .reviewbench-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 8px;
    margin-top: 6px;
  }

  .reviewbench-nav.is-open {
    display: flex;
  }

  .reviewbench-placard {
    display: block;
    width: 100%;
    padding: 12px 18px;
    text-align: center;
  }

  .reviewbench-toggle {
    display: inline-flex;
  }

  .markuprow-item {
    grid-template-columns: 46px 1fr;
    gap: 14px;
  }

  .markuprow-item .markuprow-stamp {
    display: none;
  }

  .elkdesk-headline {
    font-size: 1.9rem;
  }

  .elkdesk-display {
    font-size: 2.7rem;
  }

  .elkdesk-cta {
    width: 100%;
  }
}
