:root {
  --study-paper: #f3f0e7;
  --study-ink: #222820;
  --study-subtle: #535e53;
  --study-line: #c8c7b9;
  --study-accent: #993b25;
  --folio-paper: var(--study-paper);
  --folio-ink: var(--study-ink);
  --folio-red: var(--study-accent);
  --folio-rule: var(--study-line);
  --folio-display: var(--folio-sans);
}
.dj-header {
  --folio-paper: #202823; --folio-ink: #f5f1e4; --folio-red: #f4b489; --folio-rule: #536053;
  background: #18201b; border-color: #39443b; color: var(--folio-ink);
}
.dj-header .dj-nav { max-width: 1616px; }
.dj-header .dj-brand { font: 640 20px/1 'Portfolio Playfair', Georgia, serif; letter-spacing: -.05em; }
.dj-header .dj-brand-logo { width: 28px; height: 28px; }
.dj-header .dj-navlinks { font-weight: 570; }
.dj-header .dj-head-email { color: var(--folio-red); }
.dj-header .dj-menu a:hover, .dj-header .dj-nav-group > div > a:hover { background: #303c33; }
.level-study {
  --desk-text: #f6f1e4; --desk-soft: #ccd1c4; --desk-gold: #eeb78d; --desk-rule: #536055;
  color-scheme: dark; color: var(--desk-text);
  background: radial-gradient(ellipse at 80% 17%,#3c4639 0%,transparent 49%),
    linear-gradient(140deg,#19231d 0%,#1b251e 45%,#101b17 100%);
  overflow: clip;
}
.ls-grid {
  display: grid; grid-template-columns: minmax(0,.84fr) minmax(0,1.38fr);
  grid-template-rows: auto auto 1fr; align-items: start;
  column-gap: clamp(35px,4.5vw,77px); max-width: 1616px;
  padding-block: clamp(66px,8vw,130px) clamp(32px,4.5vw,75px);
}
.ls-intro { grid-area: 1 / 1; container-type: inline-size; }
.ls-author, .ls-label, .ls-layout-name {
  font: 650 12px/1.45 var(--folio-mono); letter-spacing: .075em; text-transform: uppercase;
}
.ls-author, .ls-label { color: var(--desk-gold); }
.ls-author { display: flex; align-items: center; gap: 10px; }
.ls-author::before { content: ''; flex: 0 0 24px; height: 2px; background: currentColor; }
.ls-title, .ls-chapter-title {
  color: var(--desk-text); font-family: var(--folio-sans); font-weight: 600;
  letter-spacing: -.074em; text-wrap: balance; line-height: .97;
}
.ls-title { margin: clamp(23px,2.9vw,48px) 0 0; font-size: clamp(48px,18cqw,112px); }
.ls-title span { display: block; overflow-wrap: break-word; }
.ls-title span + span { color: #eab38c; }
.ls-brief { grid-area: 2 / 1; padding: 23px 0 clamp(64px,9vw,140px); }
.ls-lead, .ls-body { color: var(--desk-soft); font: 430 clamp(17px,1.32vw,21px)/1.52 var(--folio-sans); text-wrap: pretty; }
.ls-lead { max-width: 37ch; }
.ls-lead + .ls-lead, .ls-body + .ls-body { margin-top: .65em; }
.ls-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 25px; }
.ls-actions a, .ls-archive a { font: 650 15px/1.4 var(--folio-sans); }
.ls-actions a:first-child {
  display: inline-flex; align-items: center; gap: 17px; padding: 12px 17px;
  border: 1px solid #f2d0aa; border-radius: 2px; color: #2d241b; background: #f3cc9f;
  box-shadow: inset 0 1px #fff3db,0 2px 5px #0e140f55;
}
.ls-actions a:first-child:hover { background: #ffddb4; }
.ls-actions a + a, .ls-archive a { color: var(--desk-text); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #899586; }
.ls-actions a + a:hover, .ls-archive a:hover { color: var(--desk-gold); text-decoration-color: currentColor; }
.ls-recent { max-width: 36ch; margin-top: 26px; color: #b3bcac; font: 470 14px/1.5 var(--folio-sans); }
.ls-steps { grid-area: 3 / 1; }
.ls-chapter { min-height: max(330px,53svh); padding: clamp(25px,3vw,46px) 0 55px; border-top: 1px solid var(--desk-rule); scroll-margin-top: clamp(75px,14svh,145px); }
.ls-chapter:last-child { min-height: max(390px,64svh); }
.ls-chapter-title { font-size: clamp(35px,3.4vw,56px); line-height: 1.025; margin: 17px 0; max-width: 16ch; letter-spacing: -.058em; }
.ls-body { max-width: 42ch; font-size: clamp(16px,1.15vw,19px); }
.ls-archive { margin-top: 18px; }

.ls-board { grid-area: 1 / 2 / span 3; min-width: 0; align-self: start; position: relative; z-index: 1; }
.level-study[data-enhanced] .ls-board { position: sticky; top: clamp(86px,13svh,137px); }
.ls-proof {
  --rim: clamp(9px,1.13vw,18px); position: relative; padding: var(--rim) var(--rim) 0;
  color: #28281e; background: linear-gradient(118deg,#f4edda,#e0dac5);
  transform: rotate(-2deg); transform-origin: 50% 55%;
  box-shadow: 1px 1px #bcb7a1, 2px 3px #625f50, 0 11px 14px -8px #080d09c2, 6px 29px 42px -21px #060c08e6;
}
.ls-board-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 1px 12px; }
.ls-project { font: 680 clamp(20px,1.85vw,29px)/1.1 var(--folio-sans); letter-spacing: -.05em; }
.ls-layout-name { font-weight: 600; color: #494c40; white-space: nowrap; }
.ls-imprint { display: flex; align-items: baseline; justify-content: end; flex-wrap: wrap; column-gap: .85em; }
.ls-medium { color: #5a5143; font: italic 500 clamp(10px,.9vw,13px)/1.25 'Portfolio Playfair',Georgia,serif; }
.ls-board:not([data-traced]) .ls-medium { visibility: hidden; }
.ls-window { position: relative; background: #332f22; }
.ls-image { position: relative; isolation: isolate; }
.ls-image > img { display: block; width: 100%; height: auto; aspect-ratio: auto 1277 / 718; }
.ls-paper-pass { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ls-paper-pass i { position: absolute; inset-block: 0; left: calc(var(--ls-reveal,0%) - 24%); width: 24%; opacity: 0;
  background: linear-gradient(to right,transparent,#f2e8cfa6 35%,#f6ebd2de 98%,#ffefcb);
  transition: opacity .27s ease-out; }
.ls-trace { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none;
  clip-path: inset(0 calc(100% - var(--ls-reveal,0%)) 0 0); }
@media (prefers-reduced-motion: no-preference) {
  .ls-board[data-sliding] .ls-paper-pass:has(.ls-trace:not([hidden])) i { opacity: 1; transition-duration: .08s; }
}
.ls-origin, .ls-axis-x, .ls-axis-y { position: absolute; width: 0; height: 0; top: 0; left: 0; pointer-events: none; }
.ls-axis-x { left: 100%; } .ls-axis-y { top: 100%; }
.ls-board[data-lens-on] .ls-window { cursor: crosshair; touch-action: pan-y pinch-zoom; }
.ls-loupe {
  --ring: clamp(7px,.72vw,12px); pointer-events: none; position: absolute; z-index: 2;
  top: 49%; left: 50%; width: clamp(84px,32%,256px); aspect-ratio: 1; padding: var(--ring); border-radius: 50%;
  transform: translate(-50%,-50%);
  background: conic-gradient(from -39deg,#bab6a4,#f6e8c6 6%,#786b51 17%,#44433b 24%,#a49c85 36%,#e0dac0 48%,#77715e 57%,#302f29 69%,#8c8c78 82%,#e7e3ca 94%,#bab6a4);
  box-shadow: inset 0 0 0 1px #302e22, inset 0 0 0 2px #dfd7bc88, 1px 3px 0 #59574a,2px 5px 0 #37382d,
    3px 8px 3px #1515107a,5px 14px 14px #100e0a8a,11px 25px 29px -12px #080a078a;
}
.ls-loupe::before { content: ''; position: absolute; inset: 3px; border-radius: 50%;
  background: repeating-conic-gradient(from -1deg,#2121197d 0deg .6deg,transparent .75deg 2.4deg);
  mask: radial-gradient(closest-side,transparent calc(100% - 2px),#000 calc(100% - 1.5px)); }
.ls-glass { position: relative; height: 100%; border-radius: 50%; overflow: hidden; background: #292a22;
  box-shadow: 0 0 0 1px #141710,0 0 0 2px #ece6d178; }
.ls-glass canvas { display: block; width: 100%; height: 100%; }
.ls-glass::after { content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(143deg,#fffae324 0%,transparent 34%,transparent 69%,#e9f7ef11 78%,transparent 88%);
  box-shadow: inset 1px 3px 7px #171d17a3, inset -2px -2px 6px #ede4bd55; }
.ls-power { position: absolute; bottom: 1%; left: 50%; transform: translateX(-50%); padding: 0 3px; border-radius: 2px;
  color: #eee9d7; background: #49483c; font: 650 clamp(8px,.68vw,11px)/1.1 var(--folio-mono); }
.ls-annotations { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.ls-pin { position: absolute; width: 13px; height: 13px; transform: translate(-50%,-50%); border: 2px solid #fff4df; border-radius: 50%; background: #644124; box-shadow: 0 0 0 2px #28241a99; }
.ls-board[data-lens-on] .ls-pin { translate: var(--ls-pin-x,0) var(--ls-pin-y,0); }
.ls-pin b { position: absolute; left: 21px; top: 50%; transform: translateY(-50%); padding: 4px 7px; white-space: nowrap; border-radius: 1px;
  color: #25261e; background: #f8ecd2; font: 650 clamp(10px,.9vw,14px)/1.25 var(--folio-sans); box-shadow: 0 1px 5px #0006; }
.ls-pin::after { content: ''; position: absolute; width: 13px; height: 1px; background: #fff2d7; top: 50%; left: 100%; }
.ls-pin[data-left-label] b { left: auto; right: 21px; } .ls-pin[data-left-label]::after { left: auto; right: 100%; }
.ls-credit, .ls-tools, .ls-nav { display: flex; align-items: center; gap: 12px; }
.ls-credit { justify-content: space-between; padding-top: clamp(17px,2.1vw,32px); color: #bac4b5; font: 480 12px/1.45 var(--folio-sans); }
.ls-credit a { color: var(--desk-text); white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.ls-tools { margin-top: 12px; }
.ls-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid #6b7769; background: #19251f; color: var(--desk-text); border-radius: 30px; cursor: pointer; font: 610 12px/1.3 var(--folio-sans); }
.ls-toggle[aria-pressed=true] { border-color: #ab997b; color: #f2cca4; }
.ls-toggle:hover { border-color: #ffdab4; }
.ls-toggle-icon { width: 10px; height: 10px; border: 1.5px solid currentColor; border-radius: 50%; position: relative; margin-right: 2px; }
.ls-toggle-icon::after { content: ''; position: absolute; top: 100%; left: 80%; width: 5px; height: 1.5px; background: currentColor; transform: rotate(42deg); }
.ls-guide { color: #c2cabb; font: 470 12px/1.45 var(--folio-sans); }
.ls-touch-guide { display: none; }
.ls-nav { gap: 0; flex-wrap: wrap; margin-top: 13px; border-top: 1px solid var(--desk-rule); }
.ls-nav a { flex: 1 0 auto; position: relative; margin-top: -1px; padding: 10px 10px 7px 0; border-top: 2px solid transparent;
  color: #bbc6b9; font: 560 13px/1.45 var(--folio-sans); }
.ls-nav a[aria-current] { border-top-color: var(--desk-gold); font-weight: 690; color: #f8e3c9; }
.ls-nav a:hover, .ls-credit a:hover { color: var(--desk-gold); }
.level-study :focus-visible { outline: 2px solid #fdd5a9; outline-offset: 4px; }
.ls-window:focus-visible { outline-color: #262a1d; }
.level-study:not([data-enhanced]) .ls-chapter { min-height: 0; }
.level-study:not(:has(.ls-board)) .ls-grid { grid-template-columns: minmax(0,760px); }
@media (hover: none), (pointer: coarse) {
  .ls-touch-guide { display: inline; } .ls-mouse-guide { display: none; }
  .ls-toggle { min-height: 36px; }
}
@media (prefers-reduced-motion: no-preference) {
  .ls-pin:not([hidden]) { animation: ls-pin-in .2s ease-out both; }
  @keyframes ls-pin-in { from { opacity: 0; } to { opacity: 1; } }
}
@media (min-width: 801px) and (max-height: 680px) {
  .ls-grid { padding-top: 54px; }
  .level-study[data-enhanced] .ls-board { top: 69px; }
  .ls-board { width: 100%; max-width: min(100%,102svh); justify-self: end; }
}
@media (max-width: 800px) {
  .ls-grid { display: block; padding-block: clamp(27px,6vw,55px) 25px; }
  .ls-intro { margin-bottom: 25px; }
  .ls-author { font-size: 11px; }
  .ls-title { margin-top: 12px; font-size: clamp(48px,9.6vw,75px); max-width: 21ch; }
  .ls-title span { display: inline; }
  .ls-title span + span { display: inline-block; max-width: 100%; }
  .ls-proof { --rim: 9px; transform: rotate(-1.1deg); }
  .ls-board-head { padding: 6px 0 8px; }
  .ls-project { font-size: 20px; }
  .ls-layout-name, .ls-label { font-size: 10px; }
  .ls-board { padding: 6px 0 0; }
  .level-study[data-enhanced] .ls-board { position: static; }
  .ls-credit { padding-top: 9px; }
  .ls-tools { margin-top: 7px; }
  .ls-nav { margin-top: 8px; }
  .ls-nav a { padding: 7px 6px 7px 0; }
  .ls-brief { padding: 17px 0 28px; }
  .ls-lead { font-size: clamp(16px,2.8vw,19px); max-width: 52ch; }
  .ls-actions { margin-top: 15px; } .ls-actions a:first-child { padding: 10px 14px; }
  .ls-recent { margin-top: 15px; max-width: 50ch; }
  .ls-chapter, .ls-chapter:last-child { min-height: 0; padding: 23px 0 36px; }
  .ls-chapter-title { margin: 10px 0; max-width: 22ch; }
  .ls-body { max-width: 54ch; }
}
@media (max-width: 800px) and (min-height: 640px) and (max-aspect-ratio: 5/6) {
  .level-study { background: #202c24; }
  .level-study[data-enhanced] .ls-board { position: sticky; top: var(--ls-header,54px); padding-top: 7px; background: #202c24; }
  .level-study[data-enhanced] .ls-chapter { min-height: max(43svh,275px); scroll-margin-top: calc(var(--ls-board-height,300px) + 12px); }
}
@media (max-width: 480px) {
  .ls-grid { padding-inline: 20px; }
  .ls-title { line-height: .98; }
  .ls-credit, .ls-guide { font-size: 11px; }
  .ls-pin { width: 10px; height: 10px; } .ls-pin b { left: 14px; padding: 2px 5px; } .ls-pin::after { width: 8px; }
}
@media print {
  .level-study { background: white; --desk-text: #181c18; --desk-soft: #333; --desk-gold: #543d2a; }
  .level-study[data-enhanced] .ls-board { position: static; background: none; }
  .ls-proof { transform: none; box-shadow: none; } .ls-grid { display: block; }
  .ls-chapter { min-height: 0; } .ls-nav, .ls-actions, .ls-tools, .ls-annotations, .ls-loupe, .ls-paper-pass, .ls-medium { display: none; }
}

/* The project index uses working drawings, footage and design sheets at their own proportions. */
body[data-page="home"] .work-plates { --plate-ink: var(--study-ink); --plate-accent: var(--study-accent); --plate-rule: var(--study-line); background: var(--study-paper); }
body[data-page="home"] :is(.work-plates, .fs-teaching, .dj-reel-desk, .dj-career-index) > .dj-wrap { max-width: 1616px; }
.work-plates-title, .dj-career-title, .dj-reel-title { font-weight: 620; letter-spacing: -.066em; }
body[data-page="home"] .work-plates-title, body[data-page="home"] .dj-career-title { font-size: clamp(44px,5.1vw,76px); }
body[data-page="home"] .work-plate-name { font-weight: 620; }
body[data-page="home"] .work-plate-art { background: #e8ece6; }
.work-plates .work-plate-lead:has(.work-plate-art) .work-plate-item { display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto; }
.work-plates .work-plate-lead .work-plate-copy { display: contents; }
.work-plate-lead .work-plate-art { grid-area: 1 / 1; position: relative; margin: 0; }
.work-plate-lead .work-plate-art::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg,#121916d9 0%,#17201830 29%,transparent 55%,#1720186b); }
.work-plates .work-plate-lead .work-plate-studio, .work-plates .work-plate-lead .work-plate-name {
  grid-area: 1 / 1; position: relative; margin: clamp(14px,2.15vw,35px); color: #fff4df; }
.work-plates .work-plate-lead .work-plate-studio { align-self: start; justify-self: start; padding: 3px 6px; background: #19221bd9; }
.work-plates .work-plate-lead .work-plate-name { align-self: end; letter-spacing: -.065em; font-size: clamp(37px,5.35vw,85px); }
.work-plates .work-plate-lead .work-plate-detail { grid-area: 2 / 1; margin-top: 13px; }
@media (min-width: 1001px) {
  .work-plates .work-plate-lead .work-plate-detail { display: flex; align-items: start; justify-content: space-between; gap: 22px; }
  .work-plates .work-plate-lead .work-plate-link { margin-top: 0; flex: none; }
}
body[data-page="home"] .dj-reel-desk { --reel-ink: #19251f; --reel-cream: #f2f5ee; }
body[data-page="home"] .fs-teaching { --fs-book: var(--folio-sans); --fs-paper: var(--study-paper); --fs-ink: var(--study-ink); }
body[data-page="home"] .fs-case-header { border-top: 0; padding-top: 0; }
body[data-page="home"] .fs-case-header .fs-title { font-weight: 620; letter-spacing: -.065em; }
.dj-career-index { background: #ecf0ea; border-color: var(--study-line); }
.dj-career-who h3 { font-weight: 640; }
.dj-footer { background: #19251f; border-color: var(--study-accent); }
.dj-footer .dj-email a { color: #f4f6ef; font-weight: 560; }
.dj-footer .dj-location { color: #d6ded6; }
.dj-footer .dj-micro { color: #d8c5b9; }
.dj-pocket-actions { background: var(--study-paper); color: var(--study-ink); border-color: var(--study-line); }
.dj-pocket-actions a + a { border-color: var(--study-line); }
