@charset "UTF-8";
/* Custom theme — intentionally does not import minima's stylesheet. */
:root {
  --paper: #f5efe3;
  --paper-2: #ede4d2;
  --ink: #1c1a16;
  --ink-muted: #6b6559;
  --accent: #0f7a63; /* deep teal */
  --accent-ink: #0b5a49;
  --amber: #c15d2b; /* burnt amber */
  --rule: rgba(28, 26, 22, 0.14);
  --rule-soft: rgba(28, 26, 22, 0.08);
  --code-bg: #16201d;
  --code-ink: #e7e2d4;
  --shadow: 0 1px 2px rgba(28,26,22,.05), 0 8px 30px rgba(28,26,22,.06);
  --serif-display: "Fraunces", Georgia, "Times New Roman", serif;
  --serif-body: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --measure: 66ch;
  --wrap: 46rem;
}

/* ----- reset-ish ----- */
* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--serif-body);
  font-optical-sizing: auto;
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(120% 90% at 85% -10%, rgba(15, 122, 99, 0.1), transparent 60%), radial-gradient(90% 70% at -10% 0%, rgba(193, 93, 43, 0.08), transparent 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* faint grain overlay for paper texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrapper {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* ----- typography ----- */
h1, h2, h3, h4 {
  font-family: var(--serif-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-decoration-color: rgba(15, 122, 99, 0.35);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

a:hover {
  color: var(--amber);
  text-decoration-color: var(--amber);
}

::selection {
  background: rgba(15, 122, 99, 0.22);
}

/* ----------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: rgba(245, 239, 227, 0.82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}

.site-header .wrapper {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.site-title, .site-title:visited {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}

.site-title:hover {
  color: var(--accent-ink);
}

.site-nav {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-nav .page-link {
  color: var(--ink-muted);
  text-decoration: none;
  margin-left: 1.4rem;
}

.site-nav .page-link:hover {
  color: var(--amber);
}

.site-nav .nav-trigger,
.site-nav .menu-icon {
  display: none;
}

/* ----------------------------------------------------------------------------
   Page content container
   -------------------------------------------------------------------------- */
.page-content {
  padding: 3.5rem 0 4rem;
  position: relative;
  z-index: 1;
}

/* ----------------------------------------------------------------------------
   Home
   -------------------------------------------------------------------------- */
.post-list-heading {
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-muted);
  padding-bottom: 0.9rem;
  margin: 0 0 0.5rem;
  border-bottom: 1px solid var(--rule);
}

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-list > li {
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--rule-soft);
}

.post-list .post-meta {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-ink);
  margin-bottom: 0.55rem;
}

.post-list h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.post-list h3 .post-link {
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(var(--amber), var(--amber));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 2px;
  transition: background-size 0.3s ease, color 0.2s ease;
  padding-bottom: 2px;
}

.post-list h3 .post-link:hover {
  color: var(--accent-ink);
  background-size: 100% 2px;
}

/* de-emphasized RSS link */
.rss-subscribe {
  margin-top: 3rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.rss-subscribe a {
  color: var(--ink-muted);
  text-decoration-color: rgba(28, 26, 22, 0.35);
}

.rss-subscribe a:hover {
  color: var(--accent-ink);
  text-decoration-color: var(--accent);
}

/* ----------------------------------------------------------------------------
   Post / page
   -------------------------------------------------------------------------- */
.post-header {
  margin-bottom: 2.5rem;
}

.post-title, .page-heading {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 0.8rem;
  line-height: 1.05;
}

.post-header .post-meta {
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-ink);
}

.post-content {
  max-width: var(--measure);
}

.post-content > p,
.post-content > ul,
.post-content > ol,
.post-content > blockquote,
.post-content > pre,
.post-content > h2,
.post-content > h3 {
  max-width: var(--measure);
}

.post-content h2 {
  font-size: 1.9rem;
  margin: 3rem 0 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule-soft);
}

.post-content h3 {
  font-size: 1.45rem;
  margin: 2.2rem 0 0.8rem;
}

.post-content p {
  margin: 0 0 1.4rem;
}

/* editorial drop cap on the first paragraph */
.post-content > p:first-of-type::first-letter {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: 3.4em;
  line-height: 0.82;
  float: left;
  margin: 0.06em 0.12em 0 0;
  color: var(--accent);
}

.post-content blockquote {
  margin: 1.8rem 0;
  padding: 0.3rem 0 0.3rem 1.4rem;
  border-left: 3px solid var(--amber);
  font-style: italic;
  color: var(--ink-muted);
}

.post-content ul, .post-content ol {
  padding-left: 1.3rem;
}

.post-content li {
  margin: 0.35rem 0;
}

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

/* ----- inline + block code ----- */
code {
  font-family: var(--mono);
  font-size: 0.86em;
}

:not(pre) > code {
  background: var(--paper-2);
  color: var(--accent-ink);
  padding: 0.12em 0.4em;
  border-radius: 5px;
  border: 1px solid var(--rule-soft);
}

pre, .highlight, figure.highlight {
  background: var(--code-bg);
  color: var(--code-ink);
  border-radius: 12px;
  margin: 1.8rem 0;
  box-shadow: var(--shadow);
  overflow: hidden;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.highlight {
  position: relative;
}

pre {
  padding: 1.15rem 1.3rem;
  overflow-x: auto;
  line-height: 1.55;
  font-size: 0.86rem;
}

.highlight pre {
  margin: 0;
}

pre code {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font-size: 0.86rem;
}

/* ----- Rouge syntax highlighting (dark palette) ----- */
.highlight .c, .highlight .c1, .highlight .cm, .highlight .cs {
  color: #6f8b83;
  font-style: italic;
}

.highlight .k, .highlight .kd, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kt {
  color: #7fd6b6;
}

.highlight .o, .highlight .ow {
  color: #e0b17a;
}

.highlight .p {
  color: #c7c1b2;
}

.highlight .s, .highlight .s1, .highlight .s2, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .se, .highlight .sh, .highlight .si, .highlight .sx, .highlight .sr, .highlight .ss {
  color: #e5a06b;
}

.highlight .mi, .highlight .mf, .highlight .mh, .highlight .mo, .highlight .il, .highlight .m {
  color: #d98a6a;
}

.highlight .n, .highlight .na, .highlight .nb, .highlight .nx {
  color: var(--code-ink);
}

.highlight .nf, .highlight .nc, .highlight .nn {
  color: #8bd0ea;
}

.highlight .nt {
  color: #7fd6b6;
}

.highlight .nv, .highlight .vg, .highlight .vi {
  color: #e8c07a;
}

.highlight .gd {
  color: #e06c75;
}

.highlight .gi {
  color: #7fd6b6;
}

.highlight .err {
  color: #ff8f8f;
}

/* ----------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border: 0;
  margin-top: 2rem;
  background: var(--ink);
  color: var(--paper);
  padding: 3rem 0 3.5rem;
  position: relative;
  z-index: 1;
}

.site-footer a {
  color: #e9ddc8;
  text-decoration-color: rgba(233, 221, 200, 0.4);
}

.site-footer a:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.footer-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding-bottom: 1.4rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid rgba(245, 239, 227, 0.14);
}

.footer-heading {
  font-family: var(--serif-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  color: var(--paper);
}

.footer-social {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.footer-desc {
  margin: 0;
  font-style: italic;
  line-height: 1.6;
  color: #cfc6b5;
}

/* ----------------------------------------------------------------------------
   Motion — respect reduced-motion for the remaining hover transitions
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* ----------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 40rem) {
  body {
    font-size: 1.08rem;
  }
  .site-header .wrapper {
    min-height: 3.6rem;
  }
  .site-title {
    font-size: 1.35rem;
  }
  .lede {
    font-size: 1.28rem;
  }
  .post-list h3 {
    font-size: 1.15rem;
  }
  .page-content {
    padding: 2.25rem 0 3rem;
  }
  .post-content > p:first-of-type::first-letter {
    font-size: 2.8em;
  }
}

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