@font-face {
  font-family: "Source Serif 4";

  font-style: normal;

  font-weight: 400;

  font-display: swap;

  src: url("/assets/fonts/source-serif-4-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";

  font-style: normal;

  font-weight: 600;

  font-display: swap;

  src: url("/assets/fonts/source-serif-4-semibold.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";

  font-style: normal;

  font-weight: 400;

  font-display: swap;

  src: url("/assets/fonts/source-sans-3-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";

  font-style: normal;

  font-weight: 600;

  font-display: swap;

  src: url("/assets/fonts/source-sans-3-semibold.woff2") format("woff2");
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/*
! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

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

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

:root {
  color-scheme: light;
  --font-editorial: "Source Serif 4", Georgia, serif;
  --font-ui: "Source Sans 3", ui-sans-serif, system-ui, sans-serif;
  --font-code:
			ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --bg: 250 246 238;
  --surface: 255 251 244;
  --surface-raised: 255 253 248;
  --text: 54 35 25;
  --muted: 105 82 68;
  --border: 213 193 174;
  --accent: 159 75 35;
  --accent-strong: 121 52 24;
  --focus: 173 81 32;
  --shadow-color: 63 40 27;
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --content-wide: 72rem;
  --content-reading: 68ch;
  --chip-bg: 241 229 211;
  --chip-text: 91 58 40;
  --code-bg: 239 229 215;
  --code-text: 66 42 29;
  --syntax-keyword: 153 27 27;
  --syntax-function: 107 33 168;
  --syntax-string: 21 95 60;
  --syntax-number: 3 82 130;
  --task-todo: 145 45 15;
  --task-doing: 25 70 140;
  --task-done: 20 105 50;
  --task-cancelled: 170 30 30;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: 27 20 16;
  --surface: 38 28 23;
  --surface-raised: 50 37 29;
  --text: 244 231 211;
  --muted: 190 166 143;
  --border: 91 70 57;
  --accent: 226 151 86;
  --accent-strong: 244 184 119;
  --focus: 236 159 91;
  --shadow-color: 0 0 0;
  --chip-bg: 61 44 34;
  --chip-text: 225 199 171;
  --code-bg: 22 16 13;
  --code-text: 238 216 190;
  --syntax-keyword: 252 165 165;
  --syntax-function: 216 180 254;
  --syntax-string: 134 239 172;
  --syntax-number: 125 211 252;
  --task-todo: 255 180 110;
  --task-doing: 130 190 255;
  --task-done: 115 220 145;
  --task-cancelled: 255 145 145;
}

@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] {
    color-scheme: dark;
    --bg: 27 20 16;
    --surface: 38 28 23;
    --surface-raised: 50 37 29;
    --text: 244 231 211;
    --muted: 190 166 143;
    --border: 91 70 57;
    --accent: 226 151 86;
    --accent-strong: 244 184 119;
    --focus: 236 159 91;
    --shadow-color: 0 0 0;
    --chip-bg: 61 44 34;
    --chip-text: 225 199 171;
    --code-bg: 22 16 13;
    --code-text: 238 216 190;
    --syntax-keyword: 252 165 165;
    --syntax-function: 216 180 254;
    --syntax-string: 134 239 172;
    --syntax-number: 125 211 252;
    --task-todo: 255 180 110;
    --task-doing: 130 190 255;
    --task-done: 115 220 145;
    --task-cancelled: 255 145 145;
  }
}

*,
	*::before,
	*::after {
  box-sizing: border-box;
}

html,
	body {
  height: 100%;
}

body {
  margin: 0;
  background-color: rgb(var(--bg));
  color: rgb(var(--text));
  font-feature-settings:
			"rlig" 1,
			"calt" 1;
  font-family: var(--font-ui);
  line-height: 1.6;
}

::-moz-selection {
  background-color: rgb(var(--accent) / 0.28);
  color: rgb(var(--text));
}

::selection {
  background-color: rgb(var(--accent) / 0.28);
  color: rgb(var(--text));
}

:focus-visible {
  outline: 3px solid rgb(var(--focus));
  outline-offset: 3px;
}

code,
	kbd,
	pre,
	samp {
  font-family: var(--font-code);
}

a {
  transition:
			color 180ms ease,
			border-color 180ms ease,
			background-color 180ms ease;
}

.site-shell {
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 50;
  transform: translateY(-150%);
  padding: 0.65rem 1rem;
  background: rgb(var(--surface-raised));
  color: rgb(var(--accent-strong));
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-masthead {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.masthead-inner,
	.footer-inner {
  width: min(calc(100% - 2rem), var(--content-wide));
  margin: 0 auto;
}

.masthead-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: rgb(var(--accent-strong));
  font: 600 1.05rem var(--font-editorial);
  text-decoration: none;
  white-space: nowrap;
}

.mobile-menu {
  display: none;
}

.mobile-menu-toggle {
  display: flex;
  width: -moz-fit-content;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  margin-left: auto;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
  list-style: none;
  color: rgb(var(--muted));
  font: 500 0.82rem var(--font-ui);
}

.mobile-menu-toggle::-webkit-details-marker {
  display: none;
}

.mobile-menu-toggle::after {
  content: "+";
  margin-left: 0.4rem;
}

.mobile-menu[open] .mobile-menu-toggle::after {
  content: "−";
}

.mobile-menu-links {
  display: grid;
  gap: 0.1rem;
  margin-top: 0.25rem;
  padding-bottom: 0.5rem;
}

.mobile-menu-links .site-nav-link {
  width: 100%;
  justify-content: flex-start;
}

.site-nav,
	.header-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.site-nav {
  margin-right: auto;
  gap: 0.25rem;
}

.header-actions {
  justify-content: flex-end;
  gap: 0.2rem;
}

.site-nav-link,
	.social-link,
	.theme-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0.35rem 0.55rem;
  border: 0;
  background: transparent;
  color: rgb(var(--muted));
  font: 500 0.82rem var(--font-ui);
  text-decoration: none;
  white-space: nowrap;
}

.site-brand:hover,
	.site-brand:focus-visible {
  color: rgb(var(--text));
}

.site-nav-link:hover,
	.social-link:hover,
	.theme-toggle:hover,
	.site-nav-link:focus-visible,
	.social-link:focus-visible,
	.theme-toggle:focus-visible {
  color: rgb(var(--accent-strong));
}

#theme-toggle {
  min-width: 4.5rem;
  justify-content: center;
}

.search-kbd {
  margin-left: 0.35rem;
  padding: 0.08rem 0.3rem;
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
}

.site-container {
  width: min(calc(100% - 2rem), var(--content-wide));
  flex: 1 0 auto;
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid rgb(var(--border));
  color: rgb(var(--muted));
}

.footer-inner {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-action-link {
  color: inherit;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .masthead-inner {
    padding: 0.65rem 0;
    flex-wrap: wrap;
    gap: 0.15rem 0.75rem;
  }

  .site-nav {
    flex: 1 1 auto;
  }

  .header-actions {
    flex: 1 1 20rem;
  }
}

@media (max-width: 560px) {
  .masthead-inner,
		.footer-inner {
    width: calc(100% - 1.25rem);
  }

  .masthead-inner {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-brand,
		.mobile-menu {
    grid-area: 1 / 1;
  }

  .site-brand {
    position: relative;
    z-index: 1;
    justify-self: start;
  }

  .site-nav-desktop {
    display: none;
  }

  .mobile-menu {
    display: block;
    width: 100%;
  }

  .mobile-menu-toggle {
    position: relative;
    z-index: 2;
  }

  .header-actions {
    display: none;
    grid-row: 2;
    justify-content: flex-start;
  }

  .masthead-inner:has(.mobile-menu[open]) .header-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }

  .header-actions .theme-toggle {
    width: 100%;
    justify-content: flex-start;
  }

  #theme-toggle {
    justify-content: flex-start;
  }

  .social-link {
    display: none;
  }

  .footer-inner {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0;
  }

  .footer-inner nav {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }
}

.page-intro,
	.intro-block {
  display: grid;
  gap: 0.75rem;
  max-width: var(--content-reading);
}

.error-page {
  display: grid;
  gap: 0.75rem;
}

.section-block {
  min-width: 0;
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}

.page-title {
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

.section-title {
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

.page-subtitle {
  font-size: 1rem;
  line-height: 1.75;
  color: rgb(var(--muted));
  margin: 0;
}

.tag-emphasis {
  color: rgb(var(--accent-strong));
}

.empty-state {
  font-size: 0.875rem;
  color: rgb(var(--muted));
}

.editorial-list,
	.post-list,
	.project-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 25rem), 1fr));
  gap: 1.25rem;
}

.editorial-card,
	.post-item,
	.project-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius-md);
  background: rgb(var(--surface));
  box-shadow: 0 0.25rem 0.9rem rgb(var(--shadow-color) / 0.06);
  transition:
			border-color 180ms ease,
			box-shadow 180ms ease,
			transform 180ms ease;
}

.editorial-card:hover {
  border-color: rgb(var(--accent) / 0.55);
  box-shadow: 0 0.4rem 1.2rem rgb(var(--shadow-color) / 0.09);
  transform: translateY(-1px);
}

.editorial-title {
  margin: 0;
  font: 600 clamp(1.3rem, 3vw, 1.55rem) / 1.25 var(--font-editorial);
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}

.editorial-link {
  color: rgb(var(--accent-strong));
  text-decoration-line: underline;
  text-decoration-color: rgb(var(--border));
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.editorial-link:hover,
	.editorial-link:focus-visible {
  color: rgb(var(--text));
  text-decoration-color: currentColor;
}

.editorial-summary {
  max-width: 60ch;
  margin: 0.65rem 0 0;
  line-height: 1.7;
  color: rgb(var(--muted));
}

.editorial-meta {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
}

.editorial-date,
	.post-date {
  flex: 0 0 auto;
  font-size: 0.875rem;
  color: rgb(var(--muted));
  margin: 0;
}

.tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-chip {
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  text-decoration: none;
  background-color: rgb(var(--chip-bg));
  color: rgb(var(--chip-text));
}

.tag-chip:hover,
	.tag-chip:focus-visible {
  color: rgb(var(--accent-strong));
}

.article-shell,
	.post-prose {
  width: 100%;
  min-width: 0;
  margin-top: 2rem;
  color: rgb(var(--text));
}

.article-body {
  width: 100%;
  min-width: 0;
  max-width: none;
  font-family: var(--font-editorial);
  font-size: clamp(1.03rem, 0.99rem + 0.2vw, 1.12rem);
  line-height: 1.82;
  overflow-wrap: anywhere;
}

.article-header,
	.post-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgb(var(--border));
}

.article-header .editorial-date {
  display: block;
  margin-top: 0.65rem;
  font-family: var(--font-ui);
  letter-spacing: 0.025em;
}

.post-title {
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

.post-prose h2,
	.post-prose h3,
	.post-prose h4 {
  margin: 2.5em 0 0.65em;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.post-prose h2 {
  font-size: clamp(1.55rem, 1.4rem + 0.6vw, 1.9rem);
}

.post-prose h3 {
  font-size: clamp(1.3rem, 1.2rem + 0.4vw, 1.55rem);
}

.post-prose h4 {
  font-size: 1.15rem;
}

.article-body > :first-child {
  margin-top: 0;
}

.post-prose p,
	.post-prose ul,
	.post-prose ol,
	.post-prose table,
	.post-prose dl {
  margin: 1.15em 0;
  color: rgb(var(--text));
}

.post-prose ul,
	.post-prose ol {
  padding-left: 1.45em;
}

.post-prose li + li {
  margin-top: 0.35em;
}

.post-prose li::marker {
  color: rgb(var(--accent));
}

.post-prose table {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  border: 1px solid rgb(var(--border));
  background: rgb(var(--surface));
  font: 0.9rem / 1.55 var(--font-ui);
}

.post-prose th,
	.post-prose td {
  border: 1px solid rgb(var(--border));
  padding: 0.45rem 0.6rem;
  text-align: left;
  vertical-align: top;
}

.post-prose th {
  background: rgb(var(--chip-bg));
  color: rgb(var(--accent-strong));
  font-weight: 600;
}

.post-prose a {
  color: rgb(var(--accent-strong));
  text-decoration: underline;
  text-decoration-color: rgb(var(--accent) / 0.55);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.post-prose a:hover,
	.post-prose a:focus-visible {
  color: rgb(var(--text));
  text-decoration-color: currentColor;
}

.post-prose blockquote {
  margin: 1.75rem 0;
  border-left: 0.25rem solid rgb(var(--accent));
  padding: 0.75rem 1rem;
  background: rgb(var(--surface));
  font-style: italic;
  color: rgb(var(--muted));
}

.post-prose blockquote > :first-child {
  margin-top: 0;
}

.post-prose blockquote > :last-child {
  margin-bottom: 0;
}

.post-prose dl:not(.norg-definitions) {
  padding: 1rem;
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius-sm);
  background: rgb(var(--surface));
}

.post-prose dt {
  font-weight: 600;
}

.post-prose dd {
  margin: 0.2rem 0 0.8rem 1.25rem;
}

.post-prose .norg-definitions {
  margin: 1rem 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgb(var(--border));
  border-radius: 0.5rem;
  background: rgb(var(--surface));
}

.post-prose .norg-definitions dt {
  margin-top: 0.6rem;
  font-weight: 600;
  color: rgb(var(--accent-strong));
}

.post-prose .norg-definitions dt:first-child {
  margin-top: 0;
}

.post-prose .norg-definitions dd {
  margin: 0.15rem 0 0.45rem 0;
  color: rgb(var(--text));
}

.post-prose .spoiler {
  border-radius: 0.25rem;
  padding: 0 0.2rem;
  background: rgb(var(--chip-bg));
  color: transparent;
  transition: color 160ms ease;
}

.post-prose .spoiler:hover,
	.post-prose .spoiler:focus-visible {
  color: rgb(var(--text));
}

.post-prose .math-latex {
  font-family: var(--font-code);
  font-size: 0.95em;
  border-radius: 0.25rem;
  padding: 0 0.25rem;
  background: rgb(var(--chip-bg));
  color: rgb(var(--accent-strong));
}

.post-prose code {
  border-radius: 0.25rem;
  padding: 0.125rem 0.375rem;
  font-size: 0.92em;
  background-color: rgb(var(--code-bg));
  color: rgb(var(--code-text));
}

.post-prose pre {
  max-width: 100%;
  margin: 1.5rem 0;
  overflow-x: auto;
  overflow-wrap: normal;
  -webkit-overflow-scrolling: touch;
  border-radius: 0.5rem;
  border: 1px solid rgb(var(--border));
  padding: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  background-color: rgb(var(--code-bg));
  color: rgb(var(--code-text));
}

.post-prose pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.post-prose img,
	.post-prose .post-image {
  display: block;
  width: min(100%, 44rem);
  height: auto;
  margin: 1.25rem auto;
  border: 1px solid rgb(var(--border));
  border-radius: 0.65rem;
  background: rgb(var(--surface));
}

.post-prose .chroma {
  background-color: rgb(var(--code-bg)) !important;
  color: rgb(var(--code-text)) !important;
}

.post-prose .chroma .line {
  background: transparent !important;
}

.post-prose .chroma .k,
	.post-prose .chroma .kc,
	.post-prose .chroma .kd,
	.post-prose .chroma .kn,
	.post-prose .chroma .kp,
	.post-prose .chroma .kr,
	.post-prose .chroma .kt {
  color: rgb(var(--syntax-keyword));
}

.post-prose .chroma .nf,
	.post-prose .chroma .fm {
  color: rgb(var(--syntax-function));
}

.post-prose .chroma .s,
	.post-prose .chroma .sa,
	.post-prose .chroma .sb,
	.post-prose .chroma .sc,
	.post-prose .chroma .dl,
	.post-prose .chroma .sd,
	.post-prose .chroma .s2,
	.post-prose .chroma .se,
	.post-prose .chroma .sh,
	.post-prose .chroma .si,
	.post-prose .chroma .sx,
	.post-prose .chroma .sr,
	.post-prose .chroma .s1,
	.post-prose .chroma .ss {
  color: rgb(var(--syntax-string));
}

.post-prose .chroma .m,
	.post-prose .chroma .mb,
	.post-prose .chroma .mf,
	.post-prose .chroma .mh,
	.post-prose .chroma .mi,
	.post-prose .chroma .il,
	.post-prose .chroma .mo {
  color: rgb(var(--syntax-number));
}

.post-prose .chroma .c,
	.post-prose .chroma .ch,
	.post-prose .chroma .cm,
	.post-prose .chroma .c1,
	.post-prose .chroma .cs,
	.post-prose .chroma .cp,
	.post-prose .chroma .cpf {
  color: rgb(var(--muted));
  font-style: italic;
}

.post-prose ul.task-list {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.post-prose ul.task-list li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.post-prose ul.task-list li::before {
  content: "[TODO]";
  display: inline-block;
  min-width: 12ch;
  font-size: 1em;
  font-weight: 500;
  letter-spacing: 0;
  color: rgb(var(--task-todo));
  line-height: 1.5;
}

.post-prose ul.task-list li[data-task-state="doing"]::before {
  content: "[DOING]";
  color: rgb(var(--task-doing));
}

.post-prose ul.task-list li[data-task-state="done"]::before {
  content: "[DONE]";
  color: rgb(var(--task-done));
}

.post-prose ul.task-list li[data-task-state="cancelled"] {
  color: rgb(var(--muted));
}

.post-prose ul.task-list li[data-task-state="cancelled"]::before {
  content: "[CANCELLED]";
  color: rgb(var(--task-cancelled));
}

.search-modal {
  width: min(42rem, calc(100vw - 2rem));
  max-height: min(38rem, calc(100dvh - 2rem));
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius-md);
  background: rgb(var(--surface-raised));
  color: rgb(var(--text));
  padding: 0;
  box-shadow: 0 1.5rem 4rem rgb(var(--shadow-color) / 0.28);
}

.search-modal::backdrop {
  background: rgb(var(--shadow-color) / 0.58);
}

.search-modal-inner {
  padding: 1.15rem;
  display: grid;
  gap: 0.8rem;
}

.search-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.search-dialog-header h2 {
  margin: 0;
  font-family: var(--font-editorial);
}

.search-label {
  font-size: 0.85rem;
  font-weight: 600;
}

.search-close {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius-sm);
  background: transparent;
  color: rgb(var(--text));
}

.search-input {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius-sm);
  background: rgb(var(--bg));
  color: rgb(var(--text));
  padding: 0.7rem 0.85rem;
  font-size: 1rem;
}

.search-input:focus {
  border-color: rgb(var(--accent));
  outline: 2px solid rgb(var(--focus));
  outline-offset: 2px;
}

.search-hint {
  margin: 0;
  font-size: 0.78rem;
  color: rgb(var(--muted));
}

.search-results {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 20rem;
  overflow: auto;
  display: grid;
  gap: 0.5rem;
}

.search-result a {
  display: block;
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.75rem;
  background: rgb(var(--surface));
  color: rgb(var(--text));
  text-decoration: none;
}

.search-result-message {
  padding: 0.9rem 0.75rem;
  border: 1px dashed rgb(var(--border));
  border-radius: var(--radius-sm);
  color: rgb(var(--muted));
  text-align: center;
}

.search-result-message-loading {
  color: rgb(var(--accent-strong));
}

.search-result-message-error {
  color: rgb(var(--text));
  border-color: rgb(var(--accent));
}

.search-result a:hover,
	.search-result a:focus-visible {
  border-color: rgb(var(--accent));
}

.search-result-type {
  font-size: 0.72rem;
  color: rgb(var(--muted));
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.search-result-title {
  font-size: 0.92rem;
  font-weight: 600;
  margin-top: 0.2rem;
}

.search-result-summary {
  font-size: 0.82rem;
  color: rgb(var(--muted));
  margin-top: 0.2rem;
}

@media (max-width: 480px) {
  .search-modal {
    width: calc(100vw - 1rem);
    max-height: calc(100dvh - 1rem);
  }

  .search-modal-inner {
    padding: 0.85rem;
  }

  .search-results {
    max-height: calc(100dvh - 17rem);
  }
}

.project-subposts-grid {
  min-width: 0;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .project-subposts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .project-subposts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(9rem, auto);
  }

  .project-subpost-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.project-subpost-card {
  min-width: 0;
  display: flex;
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius-md);
  background: rgb(var(--surface));
  box-shadow: 0 0.25rem 0.9rem rgb(var(--shadow-color) / 0.06);
}

.project-subpost-card:hover,
	.project-subpost-card:focus-within {
  border-color: rgb(var(--accent) / 0.55);
  box-shadow: 0 0.4rem 1.2rem rgb(var(--shadow-color) / 0.09);
}

.project-subpost-link {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 44px;
  padding: 1.25rem;
  color: rgb(var(--text));
  text-decoration: none;
}

.project-subpost-title {
  margin: 0;
  overflow-wrap: anywhere;
  font-family: var(--font-editorial);
  font-size: 1.1rem;
  font-weight: 600;
}

.project-subpost-card:hover .project-subpost-title,
	.project-subpost-card:focus-within .project-subpost-title {
  color: rgb(var(--accent-strong));
  text-decoration: underline;
  text-underline-offset: 4px;
}

.project-subpost-summary {
  margin: 0;
  overflow-wrap: anywhere;
  color: rgb(var(--muted));
  font-size: 0.85rem;
  line-height: 1.55;
}

.project-subpost-date {
  margin-top: auto;
  color: rgb(var(--muted));
  font-family: var(--font-ui);
  font-size: 0.78rem;
}

.project-subpost-breadcrumb {
  margin: 0 0 1rem;
}

.project-subpost-back {
  font-family: var(--font-code);
  font-size: 0.78rem;
  color: rgb(var(--muted));
  text-decoration: none;
}

.project-subpost-back:hover {
  color: rgb(var(--accent-strong));
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fixed {
  position: fixed;
}

.block {
  display: block;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.h-full {
  height: 100%;
}

.flex-wrap {
  flex-wrap: wrap;
}

.border {
  border-width: 1px;
}

@media (prefers-reduced-motion: reduce) {
  *,
	*::before,
	*::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
