/* Baliole blog. The fonts are the files the home ships under /assets/. */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/c8ae71ff-d78c-4722-9138-fd041eee5a05.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/b25d5e6f-69f9-4f6c-95db-f3def26818fa.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/49c1f6d7-4ec1-4e43-8669-e3dc5d838700.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/abc4ec88-ab61-4e66-b3e2-53c4effa5a34.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/d10bd5ce-9ecd-46cf-a700-16f1c0ceb645.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/9b4a26b2-0367-4746-9a43-826ba3a127d1.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/6b63a4b4-4fd4-432f-85f6-a13df9e1a26a.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/c3bbb2b0-5856-4284-8fe2-8c5a525a4978.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/6d7f1422-e592-4b75-b59b-60ca16a7e671.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/9f00af8e-fb5f-48e2-a4f3-371733d59f00.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/312c3cd2-8205-4ee5-8921-a8a5515b936f.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/43752bfa-6eb6-4dbc-93c9-20e86039cf65.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/608cdd55-d611-44ac-ac0c-484aa6004ab8.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg-cream: #FAF6EF;
  --ink: #1A1A1A;
  --ink-soft: #4a4a48;
  --ink-mute: #76746e;
  --jungle: #1F4D3F;
  --jungle-deep: #163A30;
  --moss: #9CB89E;
  --coral: #E8765A;
  --rule: rgba(31, 77, 63, 0.18);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --measure: 680px;
  --gutter: clamp(20px, 5vw, 48px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-cream);
  color: var(--ink);
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: 19px;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--jungle); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--jungle-deep); text-decoration-color: var(--coral); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 12px;
  background: var(--jungle-deep); color: var(--bg-cream); padding: 8px 14px; border-radius: 999px;
  font-family: var(--sans); font-size: 14px; text-decoration: none; z-index: 20;
}
.skip:focus { left: 12px; }

/* Nav and footer mirror the home. */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
  max-width: 1200px; margin: 0 auto;
  font-family: var(--sans);
}
.logo { display: inline-flex; align-items: center; gap: 10px; line-height: 1; text-decoration: none; color: var(--ink); }
.logo-img { height: 38px; width: auto; border-radius: 6px; flex-shrink: 0; }
.logo-word { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 26px; letter-spacing: -0.01em; }
.logo-word::after { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); vertical-align: super; margin-left: 3px; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-link { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-soft); }
.nav-link[aria-current="page"] { color: var(--jungle-deep); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--coral); }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px; border-radius: 999px;
  background: var(--coral); color: #fff;
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0.01em;
  text-decoration: none; border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { background: #d6684f; color: #fff; transform: translateY(-1px); }

main { max-width: var(--measure); margin: 0 auto; padding: clamp(28px, 6vw, 64px) var(--gutter) 0; }

/* Post */
.crumbs { font-family: var(--sans); font-size: 14px; margin: 0 0 22px; }
.crumbs a { color: var(--ink-mute); text-decoration: none; }
.crumbs a:hover { color: var(--jungle-deep); }
.post-head h1, .index-head h1 {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(38px, 7vw, 62px); line-height: 1.04; letter-spacing: -0.015em;
  margin: 0 0 20px; color: var(--jungle-deep);
}
.deck { font-family: var(--sans); font-size: 19px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 22px; }
.meta { font-family: var(--sans); font-size: 14px; color: var(--ink-mute); margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.meta .by { color: var(--ink); font-weight: 500; }
.cover { margin: 36px 0 0; }
.cover img { border-radius: 10px; aspect-ratio: 16 / 10; object-fit: cover; }

.body { padding-top: 36px; border-top: 1px solid var(--rule); margin-top: 36px; }
.body > :first-child { margin-top: 0; }
.body h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(27px, 4vw, 33px); line-height: 1.18; margin: 2.2em 0 .6em; color: var(--jungle-deep); }
.body h3 { font-family: var(--serif); font-weight: 600; font-size: 23px; line-height: 1.3; margin: 1.8em 0 .5em; color: var(--jungle-deep); }
.body h4 { font-family: var(--sans); font-weight: 600; font-size: 16px; margin: 1.6em 0 .4em; }
.body p { margin: 0 0 1.15em; }
.body ul, .body ol { padding-left: 1.3em; margin: 0 0 1.15em; }
.body li { margin-bottom: .35em; }
.body li::marker { color: var(--coral); }
.body blockquote { margin: 1.4em 0; padding: .2em 0 .2em 1.1em; border-left: 3px solid var(--moss); color: var(--ink-soft); font-style: italic; }
.body blockquote p:last-child { margin-bottom: 0; }
.body img { border-radius: 8px; margin: 1.5em 0; }
.body figure { margin: 1.5em 0; }
.body figcaption { font-family: var(--sans); font-size: 14px; color: var(--ink-mute); margin-top: .5em; }
.body hr { border: 0; border-top: 1px solid var(--rule); margin: 2.4em 0; }
.body table { border-collapse: collapse; width: 100%; margin: 1.4em 0; font-family: var(--sans); font-size: 15px; line-height: 1.45; }
.body th, .body td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.body th { font-weight: 600; color: var(--jungle-deep); }
.body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; background: rgba(31, 77, 63, 0.07); padding: .1em .35em; border-radius: 4px; }
.body pre { background: var(--jungle-deep); color: var(--bg-cream); padding: 16px 18px; border-radius: 8px; overflow-x: auto; font-size: 14px; line-height: 1.5; }
.body pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.body strong { font-weight: 600; }
.body .footnote { font-family: var(--sans); font-size: 15px; color: var(--ink-soft); }

/* Call to action, the same green as the home's community section. */
.cta {
  margin: clamp(48px, 8vw, 80px) 0 0;
  padding: 32px clamp(22px, 4vw, 36px);
  background: var(--jungle-deep); color: var(--bg-cream);
  border-radius: 14px;
}
.cta-title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(26px, 4vw, 32px); line-height: 1.15; margin: 0 0 12px; }
.cta p { font-family: var(--sans); font-size: 16px; line-height: 1.6; margin: 0 0 20px; color: rgba(250, 246, 239, .85); }

.more { margin-top: clamp(40px, 7vw, 64px); }
.more h2 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 0 0 14px; color: var(--jungle-deep); }
.more ul { list-style: none; margin: 0; padding: 0; }
.more li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--rule); }
.more li a { font-size: 19px; }
.more time { font-family: var(--sans); font-size: 13px; color: var(--ink-mute); white-space: nowrap; }

.preview-note {
  font-family: var(--sans); font-size: 14px; line-height: 1.5;
  background: #FFF3CD; color: #5c4400; border: 1px solid #f0d58a; border-radius: 8px;
  padding: 12px 16px; margin-bottom: 28px;
}

/* Index */
.index-head { margin-bottom: 8px; }
.entries { list-style: none; margin: 0; padding: 0; }
.entry { display: flex; gap: 24px; align-items: flex-start; padding: 28px 0; border-top: 1px solid var(--rule); }
.entry:last-child { border-bottom: 1px solid var(--rule); }
.entry-text { flex: 1 1 auto; min-width: 0; }
.entry time, .entry .read { font-family: var(--sans); font-size: 13px; color: var(--ink-mute); }
.entry h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 3.4vw, 30px); line-height: 1.2; margin: 6px 0 10px; }
.entry h2 a { text-decoration: none; color: var(--jungle-deep); }
.entry h2 a:hover { text-decoration: underline; text-decoration-color: var(--coral); }
.entry p { margin: 0 0 8px; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.entry-thumb { flex: 0 0 220px; }
.entry-thumb img { border-radius: 8px; aspect-ratio: 16 / 10; object-fit: cover; }
.empty { font-family: var(--sans); color: var(--ink-soft); padding: 32px 0; border-top: 1px solid var(--rule); }

/* Footer */
.foot { max-width: 1200px; margin: clamp(56px, 8vw, 96px) auto 0; padding: 0 var(--gutter) 36px; font-family: var(--sans); }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(26, 26, 26, .08); }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; }
.foot-links a { color: var(--ink-soft); text-decoration: none; }
.foot-links a:hover { color: var(--jungle-deep); text-decoration: underline; }
.foot-bottom { margin-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--ink-mute); letter-spacing: 0.06em; }
.made { display: inline-flex; align-items: center; gap: 8px; }
.sun { width: 14px; height: 14px; border-radius: 50%; background: var(--coral); display: inline-block; }

@media (max-width: 720px) {
  body { font-size: 18px; }
  .logo-img { height: 32px; }
  .logo-word { font-size: 22px; }
  .nav-right { gap: 14px; }
  .btn { padding: 9px 14px; font-size: 13px; }
  .entry { flex-direction: column-reverse; gap: 14px; }
  .entry-thumb { flex-basis: auto; width: 100%; }
  .more li { flex-direction: column; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
