/* Slovlog "field notebook" design (2026 redesign) */
:root {
  --ink: #322F30; --paper: #F6F4EE; --paper2: #EDEAE2; --letter: #FFFEFA;
  --green: #00BF63; --green-d: #00804A; --mint: #7FE0AE;
  --muted: #55524F; --muted2: #6B6865; --line-soft: rgba(246,244,238,.3);
  --serif: 'Fraunces', Georgia, serif; --sans: 'Inter Tight', system-ui, sans-serif; --hand: 'Caveat', cursive;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--green-d); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap-wide { max-width: 1340px; margin: 0 auto; padding-left: clamp(20px, 4vw, 56px); padding-right: clamp(20px, 4vw, 56px); }

/* type */
.serif { font-family: var(--serif); }
.hand { font-family: var(--hand); }
.note { font-family: var(--hand); font-size: 30px; color: var(--green-d); display: inline-block; transform: rotate(-2deg); transform-origin: left; }
.note--mint { color: var(--mint); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted2); }
.h-xl { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(56px, 7.5vw, 108px); letter-spacing: -.05em; line-height: .94; }
.h-l { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(46px, 6vw, 84px); letter-spacing: -.035em; line-height: .98; }
.h-m { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 4.4vw, 56px); letter-spacing: -.03em; line-height: 1.04; }
.h-s { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: -.015em; line-height: 1.15; }
.lead { margin: 0; font-size: 18px; line-height: 1.65; color: var(--muted); }
.ul { position: relative; display: inline-block; }
.ul::after { content: ""; position: absolute; left: -3%; bottom: -.06em; width: 106%; height: .2em; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11 C40 4 90 14 130 8 S185 5 197 9' stroke='%2300BF63' stroke-width='5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; background-size: 100% 100%; }

/* buttons & links */
.btn { display: inline-flex; align-items: center; gap: 14px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; font-size: 16px; line-height: 1.2; padding: 17px 26px; border: 1.5px solid var(--ink); cursor: pointer; }
.btn:hover { color: var(--paper); background: #1f1d1e; }
.btn--green { background: var(--green); color: var(--ink); }
.btn--green:hover { background: #00a957; color: var(--ink); }
.btn--paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--paper:hover { background: #fff; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn[disabled], .btn.is-off { background: #DAD6CE; color: var(--muted2); border-color: #DAD6CE; cursor: not-allowed; }
.link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* photo prints */
.print { margin: 0; background: #fff; padding: 12px 12px 10px; box-shadow: 0 1px 2px rgba(50,47,48,.15), 0 16px 36px rgba(50,47,48,.09); }
.print img { width: 100%; object-fit: cover; }
.print figcaption, .print .cap { font-family: var(--hand); font-size: 24px; padding-top: 8px; line-height: 1.2; }
.t-l1 { transform: rotate(-1.4deg); } .t-l2 { transform: rotate(-2deg); } .t-r1 { transform: rotate(1.2deg); } .t-r2 { transform: rotate(1.8deg); } .t-l0 { transform: rotate(-.6deg); } .t-r0 { transform: rotate(.8deg); }

/* checklists */
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-family: var(--hand); font-size: 26px; line-height: 1.3; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 18px; margin-top: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 18'%3E%3Cpath d='M2 10 L8 16 L20 2' stroke='%2300BF63' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; }

/* sections */
.sec { padding-top: 110px; padding-bottom: 110px; }
.dark { background: var(--ink); color: var(--paper); }
.dark a { color: var(--paper); }
.dark .lead { color: #D6D3CD; }
.rule { border-top: 1.5px solid var(--ink); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px; align-items: end; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 64px 40px; }

/* header */
.site-head { position: relative; z-index: 60; }
.site-head__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding: 18px clamp(20px, 4vw, 56px); border-bottom: 1px solid var(--ink); background: rgba(246,244,238,.97); }
.site-head--photo .site-head__bar { background: transparent; border-bottom-color: rgba(255,255,255,.35); }
.site-head--photo .nav a, .site-head--photo .nav summary { color: #fff; }
.site-head--photo .icon-btn { border-color: #fff; }
.site-head--photo .icon-btn svg { stroke: #fff; }
.site-head__logo img { height: 34px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 15px; }
.nav > a, .nav summary { color: var(--ink); text-decoration: none; padding: 10px 12px; cursor: pointer; list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav details[open] > summary { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; text-underline-offset: 7px; }
.nav details { position: static; }
.drop { position: absolute; left: clamp(20px, 4vw, 56px); right: clamp(20px, 4vw, 56px); top: calc(100% + 6px); background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); box-shadow: 8px 8px 0 rgba(50,47,48,.12); padding: 28px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 32px; }
.drop a { color: var(--ink) !important; }
.drop__item { display: flex; flex-direction: column; gap: 6px; text-decoration: none; padding: 16px 0; border-top: 1px solid var(--ink); }
.drop__item b { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.drop__item span { font-size: 14px; line-height: 1.45; color: var(--muted); }
.drop__home { border-top: 3px solid var(--green); }
.head-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 46px; height: 46px; border: 1.5px solid var(--ink); background: transparent; display: flex; align-items: center; justify-content: center; }
.icon-btn svg { stroke: var(--ink); }
.support-btn { display: flex; align-items: center; gap: 10px; white-space: nowrap; background: var(--green); color: var(--ink) !important; text-decoration: none; font-weight: 600; font-size: 15px; padding: 12px 18px; border: 1.5px solid var(--ink); }
.support-btn:hover { background: #00a957; }

/* story cards */
.card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 14px; }
.card__img { background: #fff; padding: 10px; box-shadow: 0 1px 2px rgba(50,47,48,.15), 0 12px 28px rgba(50,47,48,.08); }
.card__img img { width: 100%; height: 250px; object-fit: cover; }
.card h3, .card h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 27px; letter-spacing: -.015em; line-height: 1.15; }
.card:hover h3, .card:hover h2 { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; text-underline-offset: 5px; }

/* text filters */
.filters { border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.filters__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; padding: 18px 0; }
.filters__row + .filters__row { border-top: 1px solid var(--ink); }
.filters__label { font-family: var(--hand); font-size: 24px; color: var(--muted2); min-width: 150px; }
.tfilter { font-family: var(--serif); font-size: 22px; font-weight: 300; background: transparent; border: 0; padding: 6px 0; cursor: pointer; color: var(--ink); opacity: .6; }
.tfilter[aria-pressed="true"], .tfilter[aria-selected="true"] { font-weight: 500; opacity: 1; text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.dark .tfilter { color: var(--paper); }

/* forms: letters and postcards */
.postcard { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); background: var(--letter); border: 1.5px solid var(--ink); box-shadow: 10px 10px 0 rgba(50,47,48,.10); }
.postcard > * { padding: 44px; }
.postcard__right { border-left: 1px dashed var(--ink); display: flex; flex-direction: column; gap: 22px; }
.stamp { align-self: flex-end; width: 96px; height: 112px; border: 2px dashed var(--ink); display: flex; align-items: center; justify-content: center; transform: rotate(3deg); }
.line-field { display: flex; flex-direction: column; gap: 2px; }
.line-field > span { font-family: var(--hand); font-size: 24px; }
.line-field input, .line-field textarea { font-family: var(--hand); font-size: 28px; padding: 4px 2px; border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; outline: none; color: var(--ink); width: 100%; }
.line-field textarea { line-height: 40px; padding: 0 2px; border-bottom: 0; resize: vertical; background-image: repeating-linear-gradient(180deg, transparent 0, transparent 39px, var(--ink) 39px, var(--ink) 40px); }
.line-field input:focus, .line-field textarea:focus { border-bottom-color: var(--green); }
.inline-in { display: inline-block; border-bottom: 1.5px solid var(--ink); margin: 0 4px; }
.inline-in input { border: 0; background: transparent; outline: none; font-family: var(--hand); font-size: 28px; color: var(--ink); padding: 0 6px; }
input::placeholder, textarea::placeholder { color: #A9A49D; }
.lined { background-color: var(--letter); background-image: repeating-linear-gradient(180deg, transparent 0, transparent 47px, #E4E0D6 47px, #E4E0D6 48px); }
.form-msg { font-family: var(--hand); font-size: 24px; color: var(--green-d); }
.form-msg.is-err { color: #A3302A; }
.hp { position: absolute; left: -9999px; }

/* faq */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--ink); padding: 22px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 24px; }
.faq p { margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: #4A4744; }
.dark .faq, .dark .faq details { border-color: rgba(246,244,238,.3); }
.dark .faq p { color: #D6D3CD; }

/* article prose */
.prose { max-width: 700px; margin: 0 auto; font-size: 19px; line-height: 1.8; color: #3A3735; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1.15; color: var(--ink); margin: 56px 0 16px; letter-spacing: -.015em; }
.prose h3 { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.2; color: var(--ink); margin: 40px 0 12px; }
.prose h4 { font-size: 19px; margin: 32px 0 8px; color: var(--ink); }
.prose p { margin: 0 0 24px; }
.prose a { color: var(--ink); text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 24px; }
.prose li { margin-bottom: 8px; }
.prose blockquote { margin: 48px 0; padding: 26px 0; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 1.3; color: var(--ink); }
.prose blockquote p { margin: 0; }
.prose figure { margin: 44px 0; background: #fff; padding: 10px 10px 8px; box-shadow: 0 12px 28px rgba(50,47,48,.10); }
.prose figure:nth-of-type(odd) { transform: rotate(-.8deg); }
.prose figure:nth-of-type(even) { transform: rotate(.8deg); }
.prose figure img { width: 100%; height: auto; }
.prose figcaption { font-family: var(--hand); font-size: 23px; padding-top: 6px; color: var(--ink); line-height: 1.25; }
.prose img { height: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 0 0 24px; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid #CFCAC0; padding: 10px 8px; text-align: left; vertical-align: top; }
.prose hr { border: 0; border-top: 1.5px solid var(--ink); margin: 48px 0; }
.prose strong { color: var(--ink); }
.prose iframe { max-width: 100%; }

/* misc */
.hero-photo { position: relative; color: #fff; display: flex; flex-direction: column; background: var(--ink); }
.hero-photo > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-photo .shade { position: absolute; inset: 0; background: rgba(30,28,29,.3); }
.slide { transition: opacity 1.4s ease; }
.cols-rule { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.cols-rule > * + * { border-left: 1px solid currentColor; }
@media (max-width: 700px) {
  .cols-rule > * + * { border-left: 0; border-top: 1px solid currentColor; }
  .postcard__right { border-left: 0; border-top: 1px dashed var(--ink); }
  .postcard > * { padding: 28px; }
  .sec { padding-top: 72px; padding-bottom: 72px; }
  .drop { left: 12px; right: 12px; padding: 18px; }
  .prose figure { transform: none !important; }
  .card__img img { height: 220px; }
}

/* life-stage picker */
.stage-tab { font: inherit; text-align: left; cursor: pointer; background: transparent; border: 0; border-bottom: 1px solid var(--ink); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink); }
.stage-tab__label { font-weight: 300; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.015em; line-height: 1.1; }
.stage-tab__arrow { font-size: 28px; opacity: .25; }
.stage-tab[aria-selected="true"] .stage-tab__label { font-weight: 500; text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 4px; text-underline-offset: 8px; }
.stage-tab[aria-selected="true"] .stage-tab__arrow { opacity: 1; }
.stage-panel:not([hidden]) { display: flex; }
@media (max-width: 760px) { .hide-sm { display: none !important; } }
.dropcap > p:first-of-type::first-letter { float: left; font-family: var(--serif); font-weight: 300; font-size: 92px; line-height: .78; padding: 8px 12px 0 0; color: var(--ink); }
.mid-aside { margin: 52px 0; border-left: 4px solid var(--green); padding: 6px 0 6px 24px; display: grid; grid-template-columns: 1fr 110px; gap: 20px; align-items: center; }
.sticky-support { position: sticky; bottom: 16px; z-index: 40; display: flex; justify-content: center; padding: 0 16px; margin-top: -60px; pointer-events: none; }
.sticky-support a { pointer-events: auto; display: flex; align-items: center; gap: 16px; background: var(--paper); text-decoration: none; padding: 8px 8px 8px 20px; border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 rgba(50,47,48,.15); }
.sticky-support__btn { background: var(--green); color: var(--ink); font-weight: 600; font-size: 15px; padding: 12px 16px; border: 1.5px solid var(--ink); white-space: nowrap; }
@media (max-width: 560px) { .sticky-support .hand { display: none; } .mid-aside { grid-template-columns: 1fr; } .mid-aside > :last-child { max-width: 110px; } }
.letter { background-image: repeating-linear-gradient(180deg, transparent 0, transparent 55px, #E4E0D6 55px, #E4E0D6 56px); font-family: var(--serif); font-weight: 300; font-size: 24px; line-height: 2.33; }
.letter .form-msg { line-height: 1.4; }
@media (max-width: 700px) { .postcard .letter { border-left: 0 !important; border-top: 1px dashed var(--ink); font-size: 20px; } }
.jump { position: sticky; top: 82px; z-index: 20; background: rgba(246,244,238,.97); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.jump a { font-family: var(--serif); font-size: 21px; text-decoration: none; padding: 14px 0; }
.shelf { display: flex; flex-wrap: nowrap; align-items: flex-end; gap: 5px; padding: 0 12px; border-bottom: 10px solid #8B6B4A; height: 330px; overflow-x: auto; }
.spine { flex: none; text-decoration: none; display: flex; align-items: center; justify-content: space-between; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--serif); font-size: 14px; line-height: 1.1; padding: 12px 0; border: 1px solid rgba(0,0,0,.15); overflow: hidden; transition: transform .2s; }
.spine:hover { transform: rotate(180deg) translateY(8px); }
@media (max-width: 1100px) { .jump { position: static; } }

/* support letter and supporters' book */
.freq { position: relative; font: inherit; background: transparent; border: 0; padding: 0 10px; cursor: pointer; color: #8A8682; }
.freq[aria-checked="true"] { color: var(--ink); }
.freq .ring { position: absolute; inset: -6px -4px; width: calc(100% + 8px); height: calc(100% + 12px); display: none; }
.freq[aria-checked="true"] .ring { display: block; }
.ptab { font: inherit; background: transparent; border: 0; padding: 8px 0; cursor: pointer; color: var(--paper); opacity: .55; }
.ptab[aria-selected="true"] { opacity: 1; text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.board { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(246,244,238,.4); }
.board li { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(246,244,238,.18); }
.board__rank { font-family: var(--serif); font-size: 20px; color: #BDB9B3; min-width: 22px; }
.board li:first-child .board__rank { color: var(--green); }
.board__name { font-family: var(--hand); font-size: 32px; line-height: 1; }
.board__name.is-top { font-size: 40px; }
.board__place { font-size: 13px; color: #BDB9B3; letter-spacing: .04em; }
.board__dots { flex: 1; border-bottom: 2px dotted rgba(246,244,238,.35); transform: translateY(-6px); }
.board__amt { font-family: var(--serif); font-size: 30px; }
.board__amt.is-top { color: var(--mint); }
.board__empty { font-family: var(--hand); font-size: 28px; color: #BDB9B3; justify-content: center; }

/* mobile menu */
.mmenu { display: none; }
.mmenu summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 15px; padding: 11px 16px; border: 1.5px solid var(--ink); color: var(--ink); }
.mmenu summary::-webkit-details-marker { display: none; }
.site-head--photo .mmenu summary { color: #fff; border-color: #fff; }
.mmenu__panel { display: flex !important; flex-direction: column; gap: 0; left: 12px; right: 12px; padding: 14px 22px 22px; max-height: 75vh; overflow-y: auto; }
.mmenu__panel a { font-family: var(--serif); font-size: 22px; text-decoration: none; padding: 9px 0; border-bottom: 1px solid #DAD6CE; }
.mmenu__panel b { margin-top: 16px; padding-bottom: 4px; }
@media (max-width: 980px) {
  .nav { display: none; }
  .mmenu { display: block; margin-left: auto; }
  .site-head__bar { flex-wrap: nowrap; gap: 10px; padding-top: 14px; padding-bottom: 14px; }
  .site-head__logo img { height: 28px; }
}
@media (max-width: 420px) { .support-btn { padding: 11px 12px; font-size: 14px; } .icon-btn { display: none; } .site-head__logo img { height: 24px; } }

/* cookie note */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #322F30; color: #F6F4EE; padding: 22px clamp(20px, 5vw, 56px); display: flex; align-items: center; gap: 32px; box-shadow: 0 -8px 30px rgba(50,47,48,.18); }
.cookie[hidden] { display: none; }
.cookie-art { flex-shrink: 0; }
.cookie-text { flex: 1; min-width: 0; }
.cookie-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cookie-hand { font-family: var(--hand); font-size: 26px; color: #7FE0AE; line-height: 1; }
.cookie-title { font-family: var(--serif); font-weight: 600; font-size: 22px; }
.cookie p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.55; color: #E4E0D6; max-width: 640px; }
.cookie a { color: #7FE0AE; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btns button { height: 46px; padding: 0 20px; border-radius: 6px; font: 600 14.5px var(--sans); cursor: pointer; }
.cookie-yes { border: 1.5px solid #7FE0AE; background: #7FE0AE; color: #322F30; }
.cookie-no { border: 1.5px solid #F6F4EE; background: #F6F4EE; color: #322F30; }
@media (max-width: 760px) { .cookie { flex-direction: column; align-items: stretch; gap: 14px; padding-top: 18px; } .cookie-art { display: none; } .cookie-btns { width: 100%; } .cookie-btns button { flex: 1; } }
.cookie-choose { margin-top: 12px; display: grid; gap: 8px; }
.cookie-choose[hidden], .cookie-save[hidden], .cookie-more[hidden] { display: none; }
.cookie-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: #E4E0D6; cursor: pointer; }
.cookie-row input { width: 20px; height: 20px; margin-top: 2px; accent-color: #7FE0AE; flex-shrink: 0; }
.cookie-row b { color: #F6F4EE; }
.cookie-more { border: 0; background: transparent; color: #F6F4EE; text-decoration: underline; text-decoration-color: #7FE0AE; text-decoration-thickness: 2px; text-underline-offset: 5px; font-weight: 500; }
.cookie-btns { flex-wrap: wrap; align-items: center; justify-content: flex-end; max-width: 380px; }
@media (max-width: 760px) { .cookie-btns { max-width: none; justify-content: stretch; } .cookie-more { width: 100%; } }
