@property --bg {
  syntax: "<color>";
  inherits: true;
  initial-value: #f3f2f2;
}
@property --surface {
  syntax: "<color>";
  inherits: true;
  initial-value: #eae9e9;
}
@property --text {
  syntax: "<color>";
  inherits: true;
  initial-value: #201f1d;
}
@property --text-muted {
  syntax: "<color>";
  inherits: true;
  initial-value: #7d7979;
}
@property --text-faint {
  syntax: "<color>";
  inherits: true;
  initial-value: #9b9797;
}
@property --accent {
  syntax: "<color>";
  inherits: true;
  initial-value: #b68235;
}
@property --accent-strong {
  syntax: "<color>";
  inherits: true;
  initial-value: #7d5411;
}
@property --accent-mid {
  syntax: "<color>";
  inherits: true;
  initial-value: #a06f24;
}
@property --placeholder-a {
  syntax: "<color>";
  inherits: true;
  initial-value: #eae7e7;
}
@property --placeholder-b {
  syntax: "<color>";
  inherits: true;
  initial-value: #d7d3d3;
}
:root {
  --bg: #f3f2f2;
  --surface: #eae9e9;
  --text: #201f1d;
  --text-muted: #7d7979;
  --text-faint: #9b9797;
  --accent: #b68235;
  --accent-strong: #7d5411;
  --accent-mid: #a06f24;
  --rule: color-mix(in srgb, var(--text) 8%, transparent);
  --rule-strong: color-mix(in srgb, var(--text) 14%, transparent);
  --code-line: color-mix(in srgb, var(--text) 12%, transparent);
  --placeholder-a: #eae7e7;
  --placeholder-b: #d7d3d3;
  transition: --bg 0.22s ease, --surface 0.22s ease, --text 0.22s ease, --text-muted 0.22s ease, --text-faint 0.22s ease, --accent 0.22s ease, --accent-strong 0.22s ease, --accent-mid 0.22s ease, --placeholder-a 0.22s ease, --placeholder-b 0.22s ease;
}

html[data-theme=dark] {
  --bg: #1b1a18;
  --surface: #232120;
  --text: #eae6e0;
  --text-muted: #a09a93;
  --text-faint: #8c857f;
  --accent: #c9974a;
  --accent-strong: #e8bc80;
  --accent-mid: #e1ad66;
  --placeholder-a: #2e2b29;
  --placeholder-b: #3d3934;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme=light]) {
    --bg: #1b1a18;
    --surface: #232120;
    --text: #eae6e0;
    --text-muted: #a09a93;
    --text-faint: #8c857f;
    --accent: #c9974a;
    --accent-strong: #e8bc80;
    --accent-mid: #e1ad66;
    --placeholder-a: #2e2b29;
    --placeholder-b: #3d3934;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    transition: none;
  }
}
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  margin: 0;
  font-family: "Lora", "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: color-mix(in srgb, var(--accent) 22%, transparent);
}

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

h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.012em;
  margin: 2.6rem 0 0.8rem;
}

h1 {
  font-size: 2.35rem;
  font-weight: 300;
}

h2 {
  font-size: 1.45rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1.3rem;
  hanging-punctuation: first last;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
  transition: color 0.25s ease;
}
a:hover {
  color: var(--accent-mid);
}

em {
  font-style: italic;
}

strong {
  font-weight: 500;
}

blockquote {
  margin: 2rem 0;
  padding: 0;
  font-family: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 1.3rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--text-muted);
}
blockquote p:last-child {
  margin-bottom: 0;
}

hr {
  border: none;
  height: 1px;
  background: var(--rule);
  margin: 3rem 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

figure {
  margin: 0 0 2rem;
}

figcaption {
  margin-top: 0.6rem;
  font-size: 0.74rem;
  font-style: italic;
  color: var(--text-faint);
  text-align: left;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.8rem;
  background-color: var(--surface);
  padding: 0.12em 0.35em;
  border-radius: 3px;
}

pre {
  margin: 0 0 2rem;
  padding: 0 0 0 1.1rem;
  border-left: 1px solid var(--code-line);
  overflow-x: auto;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.74rem;
  line-height: 1.7;
  text-align: left;
}
pre code {
  padding: 0;
  background: none;
  border-radius: 0;
  font-size: inherit;
}

ul, ol {
  padding-left: 1.4rem;
  margin: 0 0 1.3rem;
}

li {
  margin-bottom: 0.35rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 2rem;
  font-size: 0.84rem;
  font-variant-numeric: tabular-nums;
  text-align: left;
}

th {
  padding: 0 0.6rem 0.5rem 0;
  font-family: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  border: none;
}

td {
  padding: 0.42rem 0.6rem 0.42rem 0;
  border-top: 1px solid var(--rule);
}

th:last-child, td:last-child {
  padding-right: 0;
}

.formula {
  margin: 1.8rem 0;
  text-align: center;
  font-family: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 1.35rem;
  font-style: italic;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.placeholder {
  aspect-ratio: 16/9;
  border-radius: 2px;
  background: repeating-linear-gradient(135deg, var(--placeholder-a) 0 8px, var(--placeholder-b) 8px 16px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder::after {
  content: attr(data-label);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--bg);
  padding: 5px 10px;
  border-radius: 2px;
}

.page-shell {
  max-width: 38rem;
  margin: 0 auto;
  padding: 6rem 2rem 7.5rem;
}

.quiet {
  opacity: 0.32;
  transition: opacity 0.25s ease;
  color: var(--text);
}
.quiet:hover, .quiet:focus-visible {
  opacity: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 4.5rem;
}

.site-title {
  font-family: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 1.75rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--text);
}
.site-title:hover {
  color: var(--text);
}

.theme-toggle {
  background: none;
  border: none;
  padding: 4px;
  position: relative;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
}
.theme-toggle svg {
  position: absolute;
  width: 15px;
  height: 15px;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(-30deg) scale(0.8);
}
.theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}
html[data-theme=dark] .theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}
html[data-theme=dark] .theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(30deg) scale(0.8);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme=light]) .theme-toggle .icon-sun {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
  html:not([data-theme=light]) .theme-toggle .icon-moon {
    opacity: 0;
    transform: rotate(30deg) scale(0.8);
  }
}
@media (prefers-reduced-motion: reduce) {
  .theme-toggle svg {
    transition: none;
  }
}
.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.post-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0;
}
.post-item .post-rule {
  height: 1px;
  width: 0;
  background: color-mix(in srgb, var(--accent) 45%, transparent);
  transition: width 0.4s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.post-item .post-date {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.post-item:hover .post-rule, .post-item:focus-within .post-rule {
  width: 100%;
}
.post-item:hover .post-date, .post-item:focus-within .post-date {
  opacity: 1;
  transform: none;
}

.post-link {
  font-family: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text);
}
.post-link:hover {
  color: var(--text);
}

.post, .page {
  max-width: 28rem;
}

.post-header {
  margin-bottom: 2.75rem;
}
.post-header .post-title {
  margin: 0 0 0.7rem;
}
.post-header .post-meta {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}

.post-content {
  text-align: justify;
  hyphens: auto;
}
.post-content h2, .post-content h3 {
  text-align: left;
}

.toc {
  margin: 0 0 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.toc .toc-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.toc ol {
  margin: 0;
  padding-left: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.84rem;
  font-variant-numeric: tabular-nums;
}
.toc a {
  color: var(--text-muted);
}

.has-sidenote {
  position: relative;
}

.sidenote {
  position: absolute;
  left: calc(100% + 1.4rem);
  top: 0;
  width: 11rem;
  font-size: 0.74rem;
  line-height: 1.55;
  color: var(--text-muted);
  text-align: left;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.has-sidenote:hover .sidenote {
  opacity: 1;
}

sup a, .footnote {
  color: var(--accent-mid);
}

.footnotes {
  margin-top: 2.75rem;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--text-faint);
  text-align: left;
}
.footnotes ol {
  padding-left: 1.2rem;
}

.site-footer {
  margin-top: 5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.71rem;
  letter-spacing: 0.1em;
}

.notfound {
  min-height: 16rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.9rem;
}
.notfound p {
  margin: 0;
  font-family: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 1.85rem;
  font-weight: 300;
  font-style: italic;
}
.notfound a {
  font-size: 0.71rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .sidenote {
    position: static;
    display: block;
    width: auto;
    opacity: 1;
    margin-top: 0.6rem;
    padding-left: 0.9rem;
    border-left: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  }
}
@media (max-width: 640px) {
  html {
    font-size: 16.5px;
  }
  .page-shell {
    padding: 3.5rem 1.4rem 5rem;
  }
  .site-header {
    margin-bottom: 3rem;
  }
  .post-item .post-date {
    opacity: 1;
    transform: none;
  }
  .post, .page {
    max-width: none;
  }
  h1 {
    font-size: 1.95rem;
  }
}
.highlight .c, .highlight .c1, .highlight .cm, .highlight .cs {
  color: var(--text-faint);
  font-style: italic;
}
.highlight .k, .highlight .kd, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kt {
  color: var(--accent-strong);
}
.highlight .n, .highlight .na, .highlight .nb, .highlight .nc, .highlight .nf, .highlight .nn, .highlight .nv {
  color: var(--text);
}
.highlight .s, .highlight .s1, .highlight .s2, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .se, .highlight .sh, .highlight .si, .highlight .sx, .highlight .sr {
  color: var(--accent-mid);
}
.highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .mo, .highlight .il {
  color: var(--accent-mid);
  font-variant-numeric: tabular-nums;
}
.highlight .o, .highlight .ow, .highlight .p {
  color: var(--text-muted);
}
.highlight .err {
  color: var(--text);
  text-decoration: underline wavy var(--accent);
}
.highlight .gd {
  color: var(--text-muted);
}
.highlight .gi {
  color: var(--accent-strong);
}

/*# sourceMappingURL=main.css.map */