:root {
  color-scheme: dark;
  --basalt: #0c0d0c;
  --carbon: #161816;
  --shale: #2c302b;
  --fog: #a6aaa0;
  --bone: #eceae2;
  --lichen: #a8bc9a;
  --blade: #f04b3d;
  --display: 'Bodoni Moda', Didot, 'Songti SC', 'STSong', 'Noto Serif CJK SC', serif;
  --text: Archivo, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --mono: 'IBM Plex Mono', 'SFMono-Regular', Menlo, Consolas, monospace;
  --gutter: clamp(20px, 5vw, 84px);
  --bar: 64px;
}
* { box-sizing: border-box }
html { scroll-padding-top: var(--bar); background: var(--basalt) }
body { margin: 0; color: var(--bone); background: var(--basalt); font: 16px/1.65 var(--text); -webkit-font-smoothing: antialiased }
button, input, select { font: inherit }
button, a, input, select { -webkit-tap-highlight-color: transparent }
a { color: inherit; text-underline-offset: .24em }
a, button { touch-action: manipulation }
button { color: inherit }
img { max-width: 100%; display: block }
[hidden] { display: none !important }
::selection { color: #10120f; background: #c4d3b8 }
:focus-visible { outline: 2px solid var(--lichen); outline-offset: 4px }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none }
.icon { display: inline-block; flex-shrink: 0; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round }
.skip-link { position: fixed; z-index: 99; left: 12px; top: 8px; color: #111; background: var(--bone); padding: 8px 14px; transform: translateY(-160%) }
.skip-link:focus { transform: none }
.masthead { position: sticky; top: 0; z-index: 10; background: var(--basalt); border-bottom: 1px solid var(--shale) }
.topbar, .wrap { width: min(100% - 2 * var(--gutter), 1512px); margin-inline: auto }
.topbar { height: calc(var(--bar) - 1px); display: flex; align-items: center; justify-content: space-between; gap: 22px }
.wordmark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; white-space: nowrap }
.wordmark strong { font: 750 20px/1 var(--text); letter-spacing: -.055em }
.wordmark strong span { font-weight: 400; margin-left: 4px }
.brand-mark { filter: brightness(0) invert(.92) }
.topbar nav { display: flex; align-items: stretch; gap: clamp(16px, 3.25vw, 62px); height: 100% }
.topbar nav a { position: relative; display: flex; align-items: center; gap: 7px; color: var(--fog); text-decoration: none; font-size: 14px; white-space: nowrap }
.topbar nav a span { font: 11px/1 var(--mono); color: var(--fog) }
.topbar nav a:is([aria-current], :hover, :focus-visible) { color: var(--bone) }
.topbar nav a[aria-current]::after { content: ''; position: absolute; inset: auto 0 -1px; height: 2px; background: var(--lichen) }
.chapter { border-bottom: 1px solid var(--shale) }
.chapter:last-child { border-bottom: 0 }
.chapter > .wrap { min-height: calc(100svh - var(--bar)); display: flex; flex-direction: column; padding-top: clamp(40px, 7.5vh, 100px) }
.ridge-landscape { margin-block: auto }
.feature-grid { flex: 1; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(50px, 8vw, 150px); align-items: center; padding-bottom: clamp(30px, 6vh, 80px) }
.chapter-copy { min-width: 0 }
.chapter-id, .meta-label { display: flex; align-items: center; gap: 12px; color: var(--fog); font: 11px/1.5 var(--mono); letter-spacing: .12em }
.chapter-no { color: var(--bone) }
.rule { height: 1px; width: 32px; background: #62675e }
.chapter h2 { font: 650 clamp(44px, 5.2vw, 84px)/1.12 var(--display); letter-spacing: -.04em; margin: .34em 0 0; overflow-wrap: break-word }
.title-stop { color: var(--lichen) }
.lead { margin: 1.12em 0 0; font-size: clamp(16px, 1.45vw, 22px); line-height: 1.55; color: #d7d9d0 }
.body-copy { max-width: 32ch; margin: 14px 0 26px; font-size: 15px; line-height: 1.85; color: var(--fog) }
.text-link, .page-foot a { display: inline-flex; width: fit-content; min-height: 44px; align-items: center; gap: 9px; text-decoration: none }
.text-link { font-size: 14px; border-bottom: 1px solid #717568 }
.text-link:hover, .page-foot a:hover { color: var(--lichen) }
.text-link .icon, .page-foot .icon { width: 16px; height: 16px }
.page-foot { margin-block: auto 0; border-top: 1px solid var(--shale); display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 5px 13px; color: var(--fog); font: 12px/1.5 var(--text) }
.page-foot i { font-style: normal; color: #62675e }
.ridge-meta { margin-top: clamp(12px, 2.3vh, 30px) }
.ridge-hero .page-foot { margin-top: 0 }
.reading-portrait { position: relative; display: block; width: min(100%, 390px); padding: 0; margin: clamp(20px, 3.6vh, 50px) 0 0; background: none; border: 0; text-align: left; cursor: pointer }
.reading-portrait img { width: 100%; height: auto }
.reading-action { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; font: 12px/1.5 var(--text); color: var(--fog); margin-left: 54% }
.reading-action::before { content: ''; height: 1px; width: 18px; background: #636c5e }
.reading-action .icon { width: 14px; height: 14px }
.reading-portrait:is(:hover, :focus-visible, .has-source) .reading-action { color: var(--lichen) }
.buddy-grid { grid-template-columns: minmax(215px, .55fr) minmax(0, 1.45fr); gap: clamp(35px, 6vw, 100px) }
.buddy-grid .project-title { font-size: clamp(63px, 7.6vw, 118px); line-height: .91; letter-spacing: -.053em }
#office-preview { min-width: 0 }
#projects > .wrap { justify-content: center }
@media (min-width: 760px) and (max-width: 1000px) {
  .feature-grid { gap: 30px }
  .buddy-grid { grid-template-columns: minmax(180px, .52fr) minmax(0, 1fr) }
}
@media (max-width: 759px) {
  :root { --bar: 57px }
  .topbar { gap: 12px }
  .wordmark { min-height: 44px; gap: 7px }
  .brand-mark { width: 23px; height: 23px }
  .wordmark strong { font-size: 17px }
  .topbar nav { flex: 1; max-width: 360px; height: 100%; justify-content: space-between; gap: 4px }
  .topbar nav a { justify-content: center; font-size: 14px; min-width: 44px; min-height: 44px }
  .topbar nav a span { display: none }
  .chapter > .wrap { min-height: auto; padding-top: 40px }
  .chapter.first > .wrap { min-height: calc(100svh - var(--bar)); padding-top: 28px }
  .chapter-id { font-size: 9px; gap: 7px; letter-spacing: .075em }
  .rule { width: 16px }
  .chapter h2 { font-size: clamp(36px, 8.6vw, 56px) }
  .feature-grid { display: block; padding-bottom: 28px }
  .chapter-copy { position: relative; margin-bottom: 25px }
  .lead { margin: .8em 0 0; font-size: 16px }
  .ask .chapter-copy { min-height: 102px; padding-right: clamp(86px, 24vw, 150px) }
  .reading-portrait { position: absolute; width: clamp(85px, 24vw, 150px); margin: 0; bottom: 0; right: 0 }
  .reading-action { min-height: 20px; margin: 0; width: 100%; justify-content: center; gap: 2px; font-size: 10px }
  .reading-action::before { display: none }
  .reading-action .icon { width: 12px; height: 12px }
  .buddy-grid .project-title { font-size: clamp(45px, 10vw, 68px); line-height: 1.03 }
  .buddy-grid .project-title br { display: none }
  .body-copy { max-width: 39ch; margin: 10px 0 4px; font-size: 14px }
  .page-foot { padding-block: 2px 9px }
  .ridge-meta { margin-top: auto }
  #projects > .wrap { min-height: calc(100svh - var(--bar)) }
}
@media (max-width: 520px) {
  .wordmark { min-width: 44px }
  .wordmark strong { display: none }
}
.reading-portrait { text-decoration: none }

.studio-signature { color: #b6bbb0; margin: 0 0 clamp(22px,3.2vh,36px); font-size: 14px; line-height: 1.7; text-wrap: pretty }
.studio-signature strong { color: var(--bone); font-weight: 650 }
.studio-signature a { text-decoration-color: #596351 }
.studio-signature a { white-space: nowrap }
.studio-signature a:hover,.author-link:hover { color: var(--lichen) }
#main:focus { outline: 0 }
#projects .work-index { margin-block: clamp(22px,4.1vh,52px) }
#projects > .wrap { min-height: calc(100svh - var(--bar)) }
#projects .work-index { flex: 1 }
#projects .page-foot { margin-top: 0 }
#projects .work-row { color: #c9ccc3 }
#buddy .feature-grid { grid-template-columns: minmax(220px,.7fr) minmax(0,1.3fr) }
.body-copy,.lead { text-wrap: pretty }
.ridge-total,.ridge-value { font-variation-settings: 'opsz' 34 }
@media(max-width:759px) {
  .studio-signature { font-size: 14px; margin-bottom: 22px }
  #projects > .wrap { min-height: calc(100svh - var(--bar)) }
  #projects .page-foot { margin-top: auto }
  #projects .work-index { align-items: stretch }
  #projects #project-list { display: grid; grid-template-rows: repeat(3,1fr) }
  #projects .work-row { color: var(--bone) }
  .ask .chapter-copy { min-height: 124px; padding-right: clamp(108px,29vw,160px) }
  .reading-portrait { width: clamp(105px,29vw,160px) }
  .reading-action { font-size: 12px }
  .chapter-id { font-size: 10px }
}
