/* The example documents are live text on the same desk, including on touch screens. */
.workdesk {
  position: relative;
  isolation: isolate;
  overflow: clip;
  scroll-margin-top: -14px;
  background: #15231f;
  color: #f7f2e5;
}
.desk-scene, .desk-scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.desk-scene {
  z-index: -1;
  overflow: hidden;
}
.desk-scene img { object-fit: cover; object-position: center 20%; }
.desk-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0a1715ac, #10201b38 43%, transparent 72%);
}
.desk-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(30px, 6vw, 96px);
  padding-block: clamp(67px, 7.8vw, 126px);
}
.desk-intro { max-width: 480px; }
.desk-eyebrow, .sample-kind {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.desk-eyebrow { color: #e0c58b; }
.desk-eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.desk-intro h2 {
  margin: 24px 0;
  color: #faf6e9;
  font: 400 clamp(52px, 5.7vw, 88px)/.97 var(--serif);
  letter-spacing: -.047em;
}
.desk-intro h2 em { color: #e0c58b; font-weight: 400; }
.desk-description {
  max-width: 377px;
  color: #e3e4d9;
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.8;
}
.desk-services, .sample-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
}
.desk-services {
  margin-top: 27px;
  border-bottom: 1px solid #c0aa7d9e;
  color: #f1d8a7;
}
.desk-services:hover { color: white; border-color: white; }
.workdesk :focus-visible { outline: 3px solid #af8748; outline-offset: 3px; }
.dossier {
  width: 100%;
  max-width: 500px;
  justify-self: center;
  min-width: 0;
  container-type: inline-size;
}
.dossier-tabs {
  display: flex;
  align-items: end;
  position: relative;
  z-index: 2;
  gap: 3px;
  padding-right: 7%;
}
.dossier-tabs a {
  --tab-bg: #c6c6b7;
  flex: 1 1 auto;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: 8px 17px 6px 12px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
  color: #263831;
}
.dossier-tabs a::before {
  content: "";
  position: absolute;
  inset: 3px 0 0;
  z-index: -1;
  background: var(--tab-bg);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: inset .2s ease, background .2s ease;
}
.dossier-tabs a:nth-child(2) { --tab-bg: #d8c5a2; }
.dossier-tabs a:nth-child(3) { --tab-bg: #b6c7c2; }
.dossier-tabs a[aria-selected="true"] { --tab-bg: #faf7ed; color: #152e30; }
.dossier-tabs a:hover::before, .dossier-tabs a[aria-selected="true"]::before { inset-block-start: 0; }
.dossier-tabs a[aria-selected="true"]::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 17px;
  height: 2px;
  margin-left: -8.5px;
  background: #947141;
}
.dossier-pages {
  position: relative;
  z-index: 1;
  color: #152e30;
  background: #f8f5eb;
  box-shadow: 0 18px 46px #030c0bcc;
}
.dossier-pages::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 4px -4px -5px 4px;
  transform: rotate(.6deg);
  background: #d2c9b4;
  box-shadow: 0 2px 0 #9e9685;
}
.sample {
  position: relative;
  scroll-margin-top: 50px;
  padding: 24px;
  padding: clamp(20px, 6.6cqw, 34px);
  background: linear-gradient(112deg, #faf7ed 64%, #f2edde);
}
.sample + .sample { margin-top: 12px; }
.dossier-ready .sample {
  display: flex;
  flex-direction: column;
  min-height: 414px;
  margin: 0;
}
.dossier-ready .sample:not([hidden]) { animation: lay-sheet .32s cubic-bezier(.22,.68,.38,1) both; }
@keyframes lay-sheet {
  from { opacity: .65; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
.letterhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid #b1a68b;
}
.letterhead > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 400 22px/1 var(--serif);
  letter-spacing: .15em;
}
.letterhead svg { width: 20px; height: 24px; color: #8a6a39; }
.letterhead small {
  color: #625c4f;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .04em;
}
.sample-kind { margin-top: 19px; color: #70603e; font-size: 10px; }
.sample h3 {
  margin: 5px 0 13px;
  color: #173230;
  font: 400 36px/1.03 var(--serif);
  font-size: clamp(32px, 8.4cqw, 44px);
  letter-spacing: -.037em;
}
.sample table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  line-height: 1.45;
}
.sample th, .sample td { text-align: left; padding: 7px 0; border-bottom: 1px solid #d9d2c0; }
.sample thead th {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .025em;
  color: #686256;
}
.sample tr > :last-child { text-align: right; padding-left: 8px; }
.budget-table td:last-child { white-space: nowrap; }
.budget-table tfoot th, .budget-table tfoot td { border-bottom: none; font-weight: 700; }
.review-state { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.review-state::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
}
.review-state.done { color: #36564b; }
.review-state.done::before { background: currentColor; }
.review-state.pending, .review-state.missing { color: #765329; }
.review-state.pending::before { border-radius: 50%; }
.contract-markup p { padding: 7px 0 9px; border-top: 1px solid #d9d2c0; font-size: 14px; line-height: 1.53; }
.contract-markup small { display: block; margin-bottom: 3px; font-size: 10px; color: #686256; }
.contract-markup del { color: #83544c; text-decoration-thickness: 1px; }
.contract-markup ins { text-decoration: none; color: #24534a; background: #dce6d9; }
.desk-note {
  margin: 13px 0 7px;
  padding-left: 12px;
  border-left: 2px solid #b79a62;
  color: #4d564e;
  font-size: 12px;
  line-height: 1.6;
}
.sample-action {
  align-self: flex-start;
  margin-top: auto;
  color: #254440;
  text-decoration: underline;
  text-decoration-color: #a89a73;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.sample-action:hover { color: #795b2e; }
@media (min-width: 801px) {
  .desktop-nav a { font-size: 13px; }
}
@media (max-width: 850px) {
  .desk-layout { gap: 27px; grid-template-columns: minmax(0,.76fr) minmax(0,1fr); }
  .desk-intro h2 { font-size: clamp(44px,6.6vw,57px); }
  .dossier-tabs a { font-size: 12px; padding-inline: 8px; }
}
@media (max-width: 680px) {
  .workdesk { scroll-margin-top: -16px; }
  .desk-layout {
    grid-template-columns: minmax(0, 1fr);
    width: min(480px, calc(100% - 40px));
    gap: 22px;
    padding-block: 40px 48px;
  }
  .desk-intro { max-width: none; }
  .desk-scene img { object-position: 57% center; }
  .desk-scene::after { background: linear-gradient(180deg,#0b1916be, #0f1f184a 48%, #12241e24); }
  .desk-eyebrow { font-size: 10px; gap: 9px; }
  .desk-eyebrow::before { width: 24px; }
  .desk-intro h2 { font-size: clamp(43px, 9.8vw, 56px); margin: 12px 0; }
  .desk-intro h2 br { display: none; }
  .desk-description { max-width: 430px; font-size: 14px; line-height: 1.6; }
  .desk-services { margin-top: 5px; }
  .sample { padding: 20px; }
  .dossier-ready .sample { min-height: 365px; }
  .dossier-tabs { padding-right: 5%; }
  .sample-kind { margin-top: 15px; }
  .sample h3 { margin: 5px 0 10px; }
  .letterhead { padding-bottom: 9px; }
  .desk-note { margin: 10px 0 4px; }
}
@media (max-width: 359px) {
  .desk-layout { width: calc(100% - 28px); }
  .sample { padding: 16px; }
  .review-state, .sample table { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .dossier-tabs a::before { transition: none; }
  .dossier-ready .sample:not([hidden]) { animation: none; }
}
