*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --aubergine:#3D1F3A; --aubergine-mid:#5A2B53; --aubergine-soft:#E8DDE6;
  --sage:#5C7A52; --sage-soft:#E4EBDD;
  --ink:#1C191C; --ink-mid:#57515A; --ink-light:#8A838D;
  --paper:#F6F4F2; --paper-deep:#EEEAE5;
  --rule:rgba(61,31,58,.16);
}
html { font-size: 16px; scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family:'Jost', system-ui, sans-serif; font-weight:400; line-height:1.72; overflow-x:hidden; }
a { color: inherit; }
.top-rule { position: fixed; top:0; left:0; right:0; height:3px; background: linear-gradient(90deg, var(--aubergine), var(--sage)); z-index:101; }
.site-header { position:fixed; top:3px; left:0; right:0; z-index:100; min-height:5.9rem; padding:0 4rem; display:flex; justify-content:space-between; align-items:center; background:rgba(246,244,242,.97); border-bottom:1px solid var(--rule); backdrop-filter: blur(10px); }
.nav-logo { font-family:'Cabin', sans-serif; font-size:1.45rem; line-height:1; font-weight:500; letter-spacing:.01em; color:var(--ink); text-decoration:none; white-space:nowrap; }
.nav-logo .alchemy { color:var(--aubergine); font-style:normal; }
.nav-menu { display:flex; align-items:center; gap:clamp(1.25rem, 2.4vw, 2.25rem); }
.nav-menu a { font-family:'Cabin', sans-serif; font-size:.72rem; letter-spacing:.18em; text-transform:uppercase; color:var(--ink-light); text-decoration:none; transition:color .2s ease; white-space:nowrap; }
.nav-menu a:hover, .nav-menu a.active { color:var(--aubergine); }
.site-main { padding-top:5.9rem; }
.eyebrow, .section-label { font-size:.72rem; letter-spacing:.27em; text-transform:uppercase; font-weight:500; color:var(--aubergine); }
.notes-hero { min-height:58vh; display:flex; align-items:center; padding:7.2rem 4rem 4.8rem; border-bottom:1px solid var(--rule); }
.notes-hero.small-hero { min-height:38vh; }
.notes-hero-inner { width:100%; max-width:900px; }
.notes-hero .eyebrow { color:var(--sage); margin-bottom:2.25rem; }
h1 { font-family:'Cormorant Garamond', serif; font-weight:500; font-size:clamp(2.85rem, 5.2vw, 4.4rem); line-height:1.01; letter-spacing:-.018em; color:var(--ink); max-width:880px; margin-bottom:2.35rem; }
.notes-lead, .article-excerpt { font-size:clamp(1.08rem, 1.55vw, 1.34rem); line-height:1.72; color:var(--ink-mid); max-width:720px; }
.writing-section { border-top:1px solid var(--rule); padding:5.7rem 4rem; display:grid; grid-template-columns:220px minmax(0,1fr); gap:5rem; align-items:start; }
.writing-section .section-label { position:sticky; top:7rem; padding-top:.15rem; }
.post-list { max-width:920px; border-top:1px solid var(--rule); }
.post-card { border-bottom:1px solid var(--rule); }
.post-card-link { display:block; text-decoration:none; padding:2.25rem 0 2.35rem; }
.post-tag { font-family:'Cabin', sans-serif; font-size:.62rem; letter-spacing:.22em; color:var(--sage); text-transform:uppercase; font-weight:500; margin-bottom:.85rem; }
.post-card h2 { font-family:'Cormorant Garamond', serif; font-weight:500; font-size:clamp(1.75rem, 3vw, 2.35rem); line-height:1.18; color:var(--ink); max-width:780px; margin-bottom:.8rem; }
.post-card p { font-size:1.03rem; line-height:1.82; color:var(--ink-mid); max-width:760px; margin-bottom:.85rem; }
.post-meta, .article-meta { font-family:'Cabin', sans-serif; font-size:.68rem; letter-spacing:.18em; text-transform:uppercase; color:var(--ink-light); }
.empty-state { padding:2.25rem 0; }
.empty-state h2 { font-family:'Cormorant Garamond', serif; font-weight:500; font-size:2rem; margin-bottom:.4rem; }
.empty-state p { color:var(--ink-mid); }
.pagination { margin-top:2rem; display:flex; justify-content:space-between; font-family:'Cabin', sans-serif; font-size:.7rem; letter-spacing:.18em; text-transform:uppercase; color:var(--aubergine); }
.pagination a { text-decoration:none; border-bottom:1px solid rgba(61,31,58,.28); padding-bottom:.3rem; }
.article { padding:8.3rem 4rem 4.8rem; }
.article-header { max-width:900px; margin-bottom:3.2rem; }
.article-header .eyebrow { color:var(--sage); margin-bottom:2.25rem; }
.article-meta { margin-top:1.8rem; }
.article-image { max-width:1040px; margin:0 0 4rem; }
.article-image img { display:block; width:100%; height:auto; }
.article-image figcaption { margin-top:.8rem; color:var(--ink-light); font-size:.86rem; }
.gh-content { max-width:760px; font-size:1.12rem; line-height:1.9; color:var(--ink-mid); }
.gh-content > * + * { margin-top:1.35em; }
.gh-content h2, .gh-content h3 { font-family:'Cormorant Garamond', serif; font-weight:500; line-height:1.2; color:var(--ink); margin-top:2.1em; }
.gh-content h2 { font-size:2.2rem; }
.gh-content h3 { font-size:1.65rem; }
.gh-content p, .gh-content li { font-size:1.08rem; line-height:1.9; }
.gh-content ul, .gh-content ol { padding-left:1.4rem; }
.gh-content blockquote { margin:2.2rem 0; padding:1.6rem 0 1.6rem 2rem; border-left:1px solid var(--aubergine); color:var(--aubergine); font-family:'Cormorant Garamond', serif; font-size:1.65rem; line-height:1.35; }
.gh-content a { color:var(--aubergine); text-decoration:none; border-bottom:1px solid rgba(61,31,58,.28); }
.gh-content hr { border:0; border-top:1px solid var(--rule); margin:3rem 0; }
.gh-content img { max-width:100%; height:auto; }
.gh-content figcaption { color:var(--ink-light); font-size:.86rem; margin-top:.7rem; }
.post-nav { border-top:1px solid var(--rule); padding:2rem 4rem; display:grid; grid-template-columns:1fr 1fr; gap:2rem; max-width:100%; }
.post-nav div:last-child { text-align:right; }
.post-nav a { font-family:'Cabin', sans-serif; font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--aubergine); text-decoration:none; }
.subscribe-panel { border-top:1px solid var(--rule); padding:4rem; }
.subscribe-inner { background:var(--aubergine); color:var(--paper); max-width:930px; padding:2.8rem 3rem; display:grid; grid-template-columns:minmax(0,1fr) minmax(280px, 380px); gap:2rem; align-items:center; }
.subscribe-inner .section-label { color:rgba(246,244,242,.62); margin-bottom:1rem; }
.subscribe-inner p { font-family:'Cormorant Garamond', serif; font-size:clamp(1.45rem, 2.3vw, 1.95rem); line-height:1.35; color:var(--paper); max-width:520px; }
.subscribe-form { display:flex; gap:.75rem; align-items:stretch; flex-wrap:wrap; }
.subscribe-form input { flex:1 1 210px; min-width:0; border:1px solid rgba(246,244,242,.35); background:rgba(246,244,242,.08); color:var(--paper); padding:.9rem 1rem; font-family:'Jost', sans-serif; font-size:.95rem; outline:none; }
.subscribe-form input::placeholder { color:rgba(246,244,242,.58); }
.subscribe-form button { border:0; background:var(--paper); color:var(--aubergine); font-family:'Cabin', sans-serif; font-weight:600; font-size:.7rem; letter-spacing:.19em; text-transform:uppercase; padding:.95rem 1.3rem; cursor:pointer; }
.message-success, .message-error { display:none; flex-basis:100%; font-family:'Jost', sans-serif !important; font-size:.9rem !important; line-height:1.5 !important; color:rgba(246,244,242,.78) !important; margin-top:.6rem; }
.subscribe-form.success .message-success, .subscribe-form.error .message-error { display:block; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.site-footer { border-top:1px solid var(--rule); padding:2.1rem 4rem; display:flex; justify-content:space-between; align-items:center; gap:2rem; }
.footer-logo { font-family:'Cabin', sans-serif; font-size:.96rem; color:var(--ink-mid); text-decoration:none; }
.footer-logo .alchemy { color:var(--aubergine); }
.footer-tag { font-size:.64rem; letter-spacing:.24em; text-transform:uppercase; color:var(--ink-light); }
@media (max-width:1100px) {
  .site-header { padding:0 2.5rem; }
  .nav-logo { font-size:1.34rem; }
  .nav-menu { gap:1.1rem; }
  .nav-menu a { font-size:.66rem; letter-spacing:.15em; }
  .notes-hero, .writing-section, .article, .post-nav, .subscribe-panel, .site-footer { padding-left:2.5rem; padding-right:2.5rem; }
}
@media (max-width:850px) {
  .top-rule { position:static; }
  .site-header { position:static; min-height:0; padding:1.35rem 1.5rem; align-items:flex-start; flex-direction:column; gap:1.15rem; }
  .site-main { padding-top:0; }
  .nav-menu { width:100%; flex-wrap:wrap; justify-content:flex-start; gap:1rem 1.25rem; }
  .notes-hero { min-height:auto; padding:4.5rem 1.5rem 3.8rem; }
  .writing-section { grid-template-columns:1fr; gap:1.4rem; padding:3.8rem 1.5rem; }
  .writing-section .section-label { position:static; }
  .article { padding:4.5rem 1.5rem 3.8rem; }
  h1 { font-size:clamp(2.65rem, 9vw, 4rem); line-height:1.02; }
  .notes-lead, .article-excerpt { font-size:1.08rem; }
  .post-nav { grid-template-columns:1fr; padding:1.8rem 1.5rem; }
  .post-nav div:last-child { text-align:left; }
  .subscribe-panel { padding:3.4rem 1.5rem; }
  .subscribe-inner { grid-template-columns:1fr; padding:2.3rem; }
  .site-footer { padding:1.6rem 1.5rem; flex-direction:column; align-items:flex-start; }
}
@media (max-width:520px) {
  .nav-logo { font-size:1.24rem; }
  .nav-menu a { font-size:.62rem; letter-spacing:.14em; }
  .subscribe-form button { width:100%; }
}

/* Ghost editor width classes */
.gh-content .kg-width-wide {
  width: min(100vw - 8rem, 1040px);
  max-width: 1040px;
  margin-left: 0;
  margin-right: auto;
}
.gh-content .kg-width-full {
  width: calc(100vw - 8rem);
  max-width: none;
  margin-left: 0;
  margin-right: auto;
}
.gh-content .kg-width-wide img,
.gh-content .kg-width-full img {
  width: 100%;
  height: auto;
}
.gh-content .kg-card {
  margin-top: 2.2em;
  margin-bottom: 2.2em;
}
.gh-content .kg-image-card img,
.gh-content .kg-gallery-image img {
  display: block;
}
.gh-content .kg-bookmark-card,
.gh-content .kg-callout-card,
.gh-content .kg-toggle-card,
.gh-content .kg-product-card,
.gh-content .kg-file-card {
  max-width: 760px;
}

@media (max-width:850px) {
  .gh-content .kg-width-wide,
  .gh-content .kg-width-full {
    width: calc(100vw - 3rem);
  }
}
