.journey-section {
 margin-block: var(--section-space);
 position: relative;
}

.journey-section .journal-paper {
 background: #ffffff;
 border-radius: 18px;
 padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.2rem, 3.5vw, 2rem);
 margin-top: 1rem;
 box-shadow:
 0 1px 4px rgba(80, 78, 64, 0.04),
 0 12px 40px rgba(80, 78, 64, 0.07);
 border: 1px solid rgba(108, 120, 98, 0.08);
}

.journey-section .section-subheading {
 position: relative;
 margin-bottom: 3rem;
 font-size: 0.82rem;
 letter-spacing: 0.08em;
 color: var(--muted, #999);
}
.journey-section .section-subheading::after {
 content: "";
 display: block;
 width: clamp(48px, 12vw, 100px);
 height: 1px;
 margin: 1.1rem auto 0;
 background: linear-gradient(90deg, transparent, var(--sage, #6b9080), transparent);
 opacity: 0.45;
}

.journey-section .timeline.journal-timeline {
 position: relative;
 border-left: 0;
 margin: 0;
 padding: 0 0 0 clamp(2.5rem, 6vw, 3.5rem);
}

.journey-section .journal-timeline::before {
 content: "";
 position: absolute;
 left: clamp(1.1rem, 2.5vw, 1.5rem);
 top: 0;
 bottom: 0;
 width: 0;
 border-left: 1.5px dashed rgba(107, 144, 128, 0.22);
 mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,1) 6%, rgba(0,0,0,1) 94%, transparent 100%);
 -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,1) 6%, rgba(0,0,0,1) 94%, transparent 100%);
}

@keyframes journal-card-enter {
 from {
 opacity: 0;
 transform: translateY(16px) scale(0.97);
 }
 to {
 opacity: 1;
 transform: translateY(0) scale(1);
 }
}

.timeline-year {
 position: relative;
 display: flex;
 align-items: center;
 gap: 0.8rem;
 margin: 2rem 0 1.6rem;
 margin-left: calc(clamp(1.1rem, 2.5vw, 1.5rem) * -1 - 0.6em);
 padding-left: 0;
}
.timeline-year:first-child {
 margin-top: 0.5rem;
}

.year-pill {
 flex: none;
 padding: 0.25rem 0.85rem;
 font-size: 0.72rem;
 font-weight: 700;
 letter-spacing: 0.12em;
 color: var(--sage-deep, #4f7669);
 background: var(--surface-solid, #fffdf7);
 border: 1px solid rgba(107, 144, 128, 0.25);
 border-radius: 999px;
 box-shadow: 0 0 0 5px var(--surface-solid, #fffdf7);
 transition: border-color 0.3s;
}
.year-pill:hover {
 border-color: rgba(107, 144, 128, 0.5);
}

.year-rule {
 flex: 1;
 height: 1px;
 background: linear-gradient(90deg, rgba(107, 144, 128, 0.28), transparent 80%);
}

.journey-section .timeline-node.journal-card {
 position: relative;
 margin: 0 0 1.8rem;
 padding: 0;
 border: 0;
 background: none;
 box-shadow: none;
 border-radius: 0;
 backdrop-filter: none;
 -webkit-backdrop-filter: none;
 animation: journal-card-enter 0.7s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.journey-section .timeline-node.journal-card:nth-child(1) { animation-delay: 0.1s; }
.journey-section .timeline-node.journal-card:nth-child(2) { animation-delay: 0.22s; }
.journey-section .timeline-node.journal-card:nth-child(3) { animation-delay: 0.34s; }
.journey-section .timeline-node.journal-card:nth-child(4) { animation-delay: 0.46s; }
.journey-section .timeline-node.journal-card:nth-child(5) { animation-delay: 0.58s; }
.journey-section .timeline-node.journal-card:nth-child(6) { animation-delay: 0.7s; }
.journey-section .timeline-node.journal-card:last-child {
 margin-bottom: 0;
}
.journey-section .timeline-node.journal-card::before {
 content: none;
}

.journey-section .journal-card .node-dot {
 position: absolute;
 left: calc(clamp(1.1rem, 2.5vw, 1.5rem) * -1);
 top: 1.6rem;
 transform: translateX(-50%);
 width: 10px;
 height: 10px;
 border-radius: 50%;
 background: var(--sage, #6b9080);
 border: 2.5px solid var(--surface-solid, #fffdf7);
 box-shadow: 0 0 0 0 rgba(107, 144, 128, 0.35);
 animation: journal-node-pulse 4s ease-in-out infinite;
 z-index: 2;
 transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.journey-card:hover .node-dot {
 background: var(--clay, #b78168);
 transform: translateX(-50%) scale(1.3);
 box-shadow: 0 0 0 4px rgba(183, 129, 104, 0.15);
}
.journey-section .journal-card:nth-of-type(2) .node-dot { animation-delay: 0.8s; }
.journey-section .journal-card:nth-of-type(3) .node-dot { animation-delay: 1.5s; }
.journey-section .journal-card:nth-of-type(4) .node-dot { animation-delay: 2.2s; }

@keyframes journal-node-pulse {
 0%, 100% { box-shadow: 0 0 0 0 rgba(107, 144, 128, 0.35); }
 50% { box-shadow: 0 0 0 8px rgba(107, 144, 128, 0); }
}

.journey-card .node-content {
 position: relative;
 border-radius: 12px;
 border: 1px solid rgba(108, 120, 98, 0.12);
 background: var(--surface, rgba(255, 252, 245, 0.82));
 -webkit-backdrop-filter: blur(10px) saturate(1.2);
 backdrop-filter: blur(10px) saturate(1.2);
 box-shadow:
 0 1px 3px rgba(80, 78, 64, 0.04),
 0 8px 24px rgba(80, 78, 64, 0.06);
 background-image: radial-gradient(rgba(120, 110, 90, 0.04) 0.8px, transparent 0.8px);
 background-size: 16px 16px;
 overflow: hidden;
 transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
 box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1),
 border-color 0.4s ease;
}

.journal-card.journal-left .node-content {
 margin-right: clamp(2rem, 10vw, 6rem);
 transform: rotate(-0.4deg);
}
.journal-card.journal-right .node-content {
 margin-left: clamp(2rem, 10vw, 6rem);
 transform: rotate(0.5deg);
}

.journey-card .node-content:hover {
 transform: rotate(0deg) translateY(-8px);
 box-shadow:
 0 4px 12px rgba(80, 78, 64, 0.05),
 0 24px 48px rgba(80, 78, 64, 0.1),
 0 0 0 1px rgba(107, 144, 128, 0.08);
 border-color: rgba(107, 144, 128, 0.28);
}

.journey-card .node-content a {
 display: block;
 padding: clamp(1.2rem, 3vw, 1.6rem);
 text-decoration: none;
 color: inherit;
}

.card-image {
 margin: calc(clamp(1.2rem, 3vw, 1.6rem) * -1);
 margin-bottom: clamp(1rem, 2.5vw, 1.3rem);
 overflow: hidden;
 max-height: 180px;
}
.card-image img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 display: block;
 transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.journey-card .node-content:hover .card-image img {
 transform: scale(1.04);
}

.card-head {
 display: flex;
 align-items: flex-start;
 justify-content: space-between;
 gap: 0.8rem;
 margin-bottom: 0.6rem;
}

.journey-card .node-content h3 {
 margin: 0;
 font-size: 1.02rem;
 font-weight: 700;
 color: #2a3328;
 line-height: 1.35;
 letter-spacing: 0.01em;
}

.corner-sticker {
 flex: none;
 padding: 0.15rem 0.55rem;
 font-size: 0.62rem;
 font-weight: 600;
 letter-spacing: 0.06em;
 color: var(--clay, #b78168);
 background: rgba(183, 129, 104, 0.1);
 border: 1px dashed rgba(183, 129, 104, 0.35);
 border-radius: 6px;
 transform: rotate(3.5deg);
 white-space: nowrap;
 transition: transform 0.3s;
}
.journal-left .corner-sticker {
 transform: rotate(-2.5deg);
}
.journey-card:hover .corner-sticker {
 transform: rotate(0deg);
}

.card-quote {
 margin: 0 0 1rem;
 font-size: 0.84rem;
 line-height: 1.7;
 color: var(--muted, #6b7268);
}

.journey-card .book-tags {
 display: flex;
 flex-wrap: wrap;
 gap: 0.35rem;
 margin: 0 0 1rem;
}
.journey-card .book-tags .tag {
 padding: 0.18rem 0.55rem;
 font-size: 0.7rem;
 font-weight: 500;
 border-radius: 5px;
 color: var(--sage-deep, #4f7669);
 background: rgba(107, 144, 128, 0.08);
 border: 1px solid rgba(107, 144, 128, 0.14);
 transition: all 0.3s ease;
}
.journey-card .book-tags .tag-read {
 color: var(--clay, #b78168);
 background: rgba(183, 129, 104, 0.1);
 border-color: rgba(183, 129, 104, 0.24);
}
.journey-card .node-content:hover .tag-read {
 background: rgba(183, 129, 104, 0.18);
}

.reading-meta {
 margin-top: 0.5rem;
}

.journey-card .progress-label {
 display: flex;
 justify-content: space-between;
 align-items: baseline;
 font-size: 0.68rem;
 color: var(--muted, #999);
 margin: 0.4rem 0 0.35rem;
}
.journey-card .progress-label span:last-child {
 color: var(--sage-deep, #4f7669);
 font-weight: 600;
 font-size: 0.7rem;
}

.journey-card .progress-bar {
 height: 5px;
 border-radius: 999px;
 overflow: hidden;
 background: rgba(107, 144, 128, 0.1);
}
.journey-card .progress {
 height: 100%;
 width: 0;
 border-radius: inherit;
 background: var(--sage, #6b9080);
 transition: width 1.4s cubic-bezier(0.25, 0.8, 0.25, 1);
 position: relative;
}
.journey-card .progress::after {
 content: "";
 position: absolute;
 right: 0;
 top: 0;
 bottom: 0;
 width: 20px;
 background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
 border-radius: inherit;
}

.half-thought {
 margin: 0.8rem 0 0;
 padding-top: 0.65rem;
 border-top: 1px dashed rgba(107, 144, 128, 0.18);
 font-size: 0.76rem;
 font-style: italic;
 line-height: 1.65;
 color: var(--sage-deep, #4f7669);
}

.journal-note .node-content {
 background-color: rgba(255, 248, 234, 0.85);
 background-image:
 repeating-linear-gradient(
 transparent,
 transparent 28px,
 rgba(107, 144, 128, 0.06) 28px,
 rgba(107, 144, 128, 0.06) 29px
 ),
 radial-gradient(rgba(120, 110, 90, 0.04) 0.8px, transparent 0.8px);
 background-size: auto, 16px 16px;
 border-color: rgba(183, 129, 104, 0.12);
 border-left: 3px solid rgba(183, 129, 104, 0.25);
}

.note-tag {
 display: inline-block;
 margin-bottom: 0.6rem;
 padding: 0.14rem 0.5rem;
 font-size: 0.66rem;
 font-weight: 600;
 letter-spacing: 0.04em;
 color: var(--clay, #b78168);
 background: rgba(183, 129, 104, 0.1);
 border-radius: 4px;
}

.note-quote {
 margin: 0 0 0.6rem;
 font-size: 0.92rem;
 font-style: italic;
 line-height: 1.75;
 color: #2a3328;
}

.note-source {
 margin: 0 0 0.6rem;
 font-size: 0.7rem;
 text-align: right;
 color: var(--muted, #999);
}

.note-resonance {
 margin: 0;
 padding-top: 0.55rem;
 border-top: 1px dashed rgba(107, 144, 128, 0.18);
 font-size: 0.74rem;
 line-height: 1.65;
 color: var(--sage-deep, #4f7669);
}

.thought-section .thought-end,
.journey-section .thought-end {
 display: block;
 text-align: center;
 max-width: 36em;
 margin: 5rem auto 0.4rem;
 padding: 0 1.2rem;
}

.thought-end .te-mark {
 font-size: 0.95rem;
 letter-spacing: 0.6em;
 color: var(--sage, #6b9080);
 opacity: 0.55;
 margin: 0 0 1.4rem;
 font-family: var(--serif, "Songti SC", "Georgia", serif);
 line-height: 1;
 padding-left: 0.6em;
 display: inline-block;
 animation: te-float 6s ease-in-out infinite;
}
@keyframes te-float {
 0%, 100% { transform: translateY(0); opacity: 0.55; }
 50% { transform: translateY(-3px); opacity: 0.75; }
}

.thought-end .te-eyebrow {
 font-family: var(--serif, "Songti SC", "Georgia", serif);
 font-size: 0.78rem;
 letter-spacing: 0.55em;
 color: var(--clay, #b78168);
 margin: 0 0 1.2rem;
 font-weight: 500;
 padding-left: 0.55em;
}

.thought-end .te-title {
 font-family: var(--serif, "Songti SC", "Georgia", serif);
 font-size: 1.65rem;
 font-weight: 600;
 letter-spacing: 0.12em;
 color: #2a3328;
 margin: 0 0 1.2rem;
 line-height: 1.5;
 padding-left: 0.12em;
}

.thought-end .te-desc {
 font-family: var(--serif, "Songti SC", "Georgia", serif);
 font-size: 0.92rem;
 line-height: 1.95;
 color: var(--muted, #6b7268);
 letter-spacing: 0.05em;
 margin: 0 auto 2.4rem;
 max-width: 28em;
}

.thought-end .te-link {
 display: inline-flex;
 align-items: center;
 gap: 0.55rem;
 font-family: var(--serif, "Songti SC", "Georgia", serif);
 font-size: 0.98rem;
 letter-spacing: 0.18em;
 color: var(--sage-deep, #4f7669);
 position: relative;
 padding-bottom: 0.32rem;
 font-weight: 500;
 text-decoration: none;
}
.thought-end .te-link::after {
 content: "";
 position: absolute;
 left: 0;
 bottom: 0;
 width: 0;
 height: 1px;
 background: var(--sage, #6b9080);
 transition: width 0.55s cubic-bezier(0.23, 1, 0.32, 1);
}
.thought-end .te-link:hover::after,
.thought-end .te-link:focus-visible::after {
 width: 100%;
}
.thought-end .te-link-arrow {
 display: inline-block;
 transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
 font-size: 1.05rem;
 line-height: 1;
}
.thought-end .te-link:hover .te-link-arrow,
.thought-end .te-link:focus-visible .te-link-arrow {
 transform: translateX(5px);
}

.dark-mode .year-pill {
 color: #a8c4b8;
 background-color: rgba(35, 38, 35, 0.95);
 border-color: rgba(107, 144, 128, 0.35);
 box-shadow: 0 0 0 5px rgba(28, 28, 28, 0.95);
}
.dark-mode .year-rule {
 background: linear-gradient(90deg, rgba(138, 171, 154, 0.3), transparent 80%);
}
.dark-mode .journey-section .journal-timeline::before {
 border-left-color: rgba(138, 171, 154, 0.3);
}
.dark-mode .journal-card .node-dot {
 background: #8aab9a;
 border-color: rgba(28, 28, 28, 0.95);
}
.dark-mode .journal-card .node-content {
 background-color: rgba(38, 38, 38, 0.92);
 background-image: radial-gradient(rgba(200, 210, 200, 0.03) 0.8px, transparent 0.8px);
 border-color: rgba(138, 171, 154, 0.14);
 box-shadow:
 0 1px 3px rgba(0, 0, 0, 0.1),
 0 8px 24px rgba(0, 0, 0, 0.15);
}
.dark-mode .journal-card .node-content h3 {
 color: #e8e8e8;
}
.dark-mode .card-quote,
.dark-mode .journey-card .progress-label {
 color: #aaa;
}
.dark-mode .journal-note .node-content {
 background-color: rgba(50, 44, 34, 0.88);
 background-image:
 repeating-linear-gradient(
 transparent,
 transparent 28px,
 rgba(200, 180, 140, 0.05) 28px,
 rgba(200, 180, 140, 0.05) 29px
 ),
 radial-gradient(rgba(200, 210, 200, 0.03) 0.8px, transparent 0.8px);
 border-left-color: rgba(183, 129, 104, 0.3);
}
.dark-mode .note-quote {
 color: #e8e8e8;
}
.dark-mode .journey-card .book-tags .tag {
 color: #a8c4b8;
 background: rgba(138, 171, 154, 0.1);
 border-color: rgba(138, 171, 154, 0.18);
}
.dark-mode .journey-card .book-tags .tag-read,
.dark-mode .corner-sticker,
.dark-mode .note-tag {
 color: #d8a890;
 background: rgba(183, 129, 104, 0.15);
 border-color: rgba(183, 129, 104, 0.28);
}

.dark-mode .thought-end .te-mark {
 color: #8aab9a;
 opacity: 0.7;
}
.dark-mode .thought-end .te-eyebrow {
 color: #d8a890;
}
.dark-mode .thought-end .te-title {
 color: #e8e8e8;
}
.dark-mode .thought-end .te-desc {
 color: #aaa;
}
.dark-mode .thought-end .te-link {
 color: #a8c4b8;
}
.dark-mode .thought-end .te-link::after {
 background: #8aab9a;
}

.dark-mode .journey-section .journal-paper {
 background: rgba(35, 39, 34, 0.6);
 border-color: rgba(218, 211, 190, 0.13);
 box-shadow:
 0 1px 4px rgba(0, 0, 0, 0.18),
 0 12px 40px rgba(0, 0, 0, 0.28);
}

.dark-mode .journey-section .section-subheading {
 color: rgba(245, 241, 232, 0.7);
}

.dark-mode .journey-card .half-thought,
.dark-mode .journey-card .note-resonance,
.dark-mode .journey-card .progress-label span:last-child {
 color: #a8c4b8;
}
.dark-mode .journey-card .half-thought {
 border-top-color: rgba(138, 171, 154, 0.22);
}
.dark-mode .journey-card .note-source {
 color: rgba(245, 241, 232, 0.55);
}
.dark-mode .journey-card .progress-bar {
 background: rgba(138, 171, 154, 0.14);
}

.dark-mode .journal-note .note-resonance {
 border-top-color: rgba(183, 129, 104, 0.22);
}

.dark-mode .journey-modal-body .note-source,
.dark-mode .journey-modal-body .note-resonance,
.dark-mode .journey-modal-body .half-thought {
 color: #a8c4b8;
}
.dark-mode .journey-modal-body .half-thought {
 border-top-color: rgba(138, 171, 154, 0.22);
}
.dark-mode .journey-modal-body .progress-bar {
 background: rgba(138, 171, 154, 0.14);
}

@media (max-width: 640px) {
 .journey-section .timeline.journal-timeline {
 padding-left: 2rem;
 }
 .journey-section .journal-timeline::before {
 left: 0.7rem;
 }
 .timeline-year {
 margin-left: -1.3rem;
 }
 .journey-section .journal-card .node-dot {
 left: -1.1rem;
 }
 .journal-card.journal-left .node-content,
 .journal-card.journal-right .node-content {
 margin-left: 0;
 margin-right: 0;
 transform: rotate(0deg);
 }
 .corner-sticker {
 transform: rotate(2deg);
 }
 .journey-card .node-content a {
 padding: 1rem;
 }
 .thought-section .thought-end,
 .journey-section .thought-end {
 margin-top: 3.5rem;
 padding: 0 1rem;
 }
 .thought-end .te-mark { font-size: 0.82rem; margin-bottom: 1.1rem; }
 .thought-end .te-eyebrow { font-size: 0.7rem; letter-spacing: 0.45em; margin-bottom: 1rem; }
 .thought-end .te-title { font-size: 1.35rem; margin-bottom: 1rem; }
 .thought-end .te-desc { font-size: 0.84rem; line-height: 1.85; margin-bottom: 2rem; }
 .thought-end .te-link { font-size: 0.9rem; letter-spacing: 0.15em; }
}

@media (prefers-reduced-motion: reduce) {
 .journey-section .journal-card .node-dot {
 animation: none;
 }
 .journey-section .timeline-node.journal-card {
 animation: none;
 filter: none;
 }
 .journey-card .node-content,
 .journey-card .progress {
 transition: none;
 }
 .journal-card.journal-left .node-content,
 .journal-card.journal-right .node-content {
 transform: rotate(0deg);
 }
 .thought-end .te-link::after,
 .thought-end .te-link-arrow,
 .thought-end .te-mark {
 transition: none;
 animation: none;
 }
 .thought-end .te-link:hover .te-link-arrow,
 .thought-end .te-link:focus-visible .te-link-arrow {
 transform: none;
 }
}

.section-heading-row {
 display: flex;
 align-items: baseline;
 gap: 1rem;
}
.section-manage-link {
 font-size: 0.8rem;
 color: var(--accent, #a5a5af);
 text-decoration: none;
 opacity: 0.6;
 transition: opacity 0.3s;
}
.section-manage-link:hover {
 opacity: 1;
}

.journey-modal {
 position: fixed;
 inset: 0;
 z-index: 1000;
 display: flex;
 align-items: center;
 justify-content: center;
 opacity: 0;
 pointer-events: none;
 transition: opacity 0.22s ease;
}
.journey-modal.is-open {
 opacity: 1;
 pointer-events: auto;
}

.journey-modal-overlay {
 position: absolute;
 inset: 0;
 background: rgba(0, 0, 0, 0.5);
 -webkit-backdrop-filter: blur(8px);
 backdrop-filter: blur(8px);
}

.journey-modal-content {
 position: relative;
 width: 90vw;
 max-width: 560px;
 max-height: 85vh;
 border-radius: 16px;
 background: var(--surface-solid, #fffdf7);
 box-shadow:
 0 24px 64px rgba(0, 0, 0, 0.18),
 0 0 0 1px rgba(107, 144, 128, 0.08);
 overflow: hidden;
 transform: translateY(16px) scale(0.98);
 transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
 display: flex;
 flex-direction: column;
}
.journey-modal.is-open .journey-modal-content {
 transform: translateY(0) scale(1);
}

.journey-modal-close {
 position: absolute;
 top: 0.75rem;
 right: 0.75rem;
 width: 40px;
 height: 40px;
 display: flex;
 align-items: center;
 justify-content: center;
 border: none;
 border-radius: 50%;
 background: rgba(107, 144, 128, 0.1);
 color: var(--sage-deep, #4f7669);
 font-size: 1rem;
 line-height: 1;
 cursor: pointer;
 z-index: 2;
 transition: background 0.25s, color 0.25s, transform 0.25s;
}
.journey-modal-close:hover {
 background: rgba(107, 144, 128, 0.22);
 transform: rotate(90deg);
}

.journey-modal-body {
 padding: 2rem;
 overflow-y: auto;
 -webkit-overflow-scrolling: touch;
}

.journey-modal-body .modal-image {
 margin: -2rem -2rem 1.2rem;
 overflow: hidden;
 max-height: 220px;
}
.journey-modal-body .modal-image img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 display: block;
}
.journey-modal-body .modal-head {
 display: flex;
 align-items: flex-start;
 justify-content: space-between;
 gap: 0.8rem;
 margin-bottom: 0.8rem;
}
.journey-modal-body .modal-head h3 {
 margin: 0;
 font-size: 1.2rem;
 font-weight: 700;
 color: #2a3328;
 line-height: 1.35;
}
.journey-modal-body .card-quote {
 margin: 0 0 1rem;
 font-size: 0.92rem;
 line-height: 1.75;
 color: var(--muted, #6b7268);
}
.journey-modal-body .book-tags {
 display: flex;
 flex-wrap: wrap;
 gap: 0.4rem;
 margin: 0 0 1.2rem;
}
.journey-modal-body .book-tags .tag {
 padding: 0.22rem 0.6rem;
 font-size: 0.74rem;
 font-weight: 500;
 border-radius: 5px;
 color: var(--sage-deep, #4f7669);
 background: rgba(107, 144, 128, 0.08);
 border: 1px solid rgba(107, 144, 128, 0.14);
}
.journey-modal-body .book-tags .tag-read {
 color: var(--clay, #b78168);
 background: rgba(183, 129, 104, 0.1);
 border-color: rgba(183, 129, 104, 0.24);
}
.journey-modal-body .reading-meta {
 margin-top: 0.6rem;
}
.journey-modal-body .progress-label {
 display: flex;
 justify-content: space-between;
 align-items: baseline;
 font-size: 0.74rem;
 color: var(--muted, #999);
 margin: 0.4rem 0 0.4rem;
}
.journey-modal-body .progress-label span:last-child {
 color: var(--sage-deep, #4f7669);
 font-weight: 600;
}
.journey-modal-body .progress-bar {
 height: 6px;
 border-radius: 999px;
 overflow: hidden;
 background: rgba(107, 144, 128, 0.1);
}
.journey-modal-body .progress {
 height: 100%;
 border-radius: inherit;
 background: var(--sage, #6b9080);
}
.journey-modal-body .half-thought {
 margin: 1rem 0 0;
 padding-top: 0.8rem;
 border-top: 1px dashed rgba(107, 144, 128, 0.18);
 font-size: 0.86rem;
 font-style: italic;
 line-height: 1.7;
 color: var(--sage-deep, #4f7669);
}
.journey-modal-body .note-tag {
 display: inline-block;
 margin-bottom: 0.8rem;
 padding: 0.18rem 0.55rem;
 font-size: 0.72rem;
 font-weight: 600;
 letter-spacing: 0.04em;
 color: var(--clay, #b78168);
 background: rgba(183, 129, 104, 0.1);
 border-radius: 4px;
}
.journey-modal-body .note-quote {
 margin: 0 0 0.8rem;
 font-size: 1rem;
 font-style: italic;
 line-height: 1.8;
 color: #2a3328;
}
.journey-modal-body .note-source {
 margin: 0 0 0.8rem;
 font-size: 0.78rem;
 text-align: right;
 color: var(--muted, #999);
}
.journey-modal-body .note-resonance {
 margin: 0;
 padding-top: 0.7rem;
 border-top: 1px dashed rgba(107, 144, 128, 0.18);
 font-size: 0.84rem;
 line-height: 1.7;
 color: var(--sage-deep, #4f7669);
}

.dark-mode .journey-modal-content {
 background: rgba(38, 38, 38, 0.98);
 box-shadow:
 0 24px 64px rgba(0, 0, 0, 0.4),
 0 0 0 1px rgba(138, 171, 154, 0.12);
}
.dark-mode .journey-modal-close {
 background: rgba(138, 171, 154, 0.12);
 color: #a8c4b8;
}
.dark-mode .journey-modal-close:hover {
 background: rgba(138, 171, 154, 0.24);
}
.dark-mode .journey-modal-body .modal-head h3 {
 color: #e8e8e8;
}
.dark-mode .journey-modal-body .card-quote,
.dark-mode .journey-modal-body .progress-label {
 color: #aaa;
}
.dark-mode .journey-modal-body .note-quote {
 color: #e8e8e8;
}
.dark-mode .journey-modal-body .book-tags .tag {
 color: #a8c4b8;
 background: rgba(138, 171, 154, 0.1);
 border-color: rgba(138, 171, 154, 0.18);
}
.dark-mode .journey-modal-body .book-tags .tag-read,
.dark-mode .journey-modal-body .note-tag {
 color: #d8a890;
 background: rgba(183, 129, 104, 0.15);
 border-color: rgba(183, 129, 104, 0.28);
}

@media (max-width: 640px) {
 .journey-modal {
 align-items: flex-end;
 }
 .journey-modal-content {
 width: 100vw;
 max-width: none;
 max-height: 90vh;
 border-radius: 16px 16px 0 0;
 transform: translateY(100%);
 transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
 }
 .journey-modal.is-open .journey-modal-content {
 transform: translateY(0);
 }
 .journey-modal-body {
 padding: 1.4rem;
 }
 .journey-modal-body .modal-image {
 margin: -1.4rem -1.4rem 1rem;
 }
}

@media (prefers-reduced-motion: reduce) {
 .journey-modal,
 .journey-modal-content,
 .journey-modal-close {
 transition: none;
 }
}

.thought-section,
.journey-section {
 margin-block: var(--section-space);
 position: relative;
}
.thought-section .journal-paper,
.journey-section .journal-paper {
 background: #ffffff;
 border-radius: 18px;
 padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.2rem, 3.5vw, 2rem);
 margin-top: 1rem;
 box-shadow:
 0 1px 4px rgba(80, 78, 64, 0.04),
 0 12px 40px rgba(80, 78, 64, 0.07);
 border: 1px solid rgba(108, 120, 98, 0.08);
}
.thought-section .section-subheading,
.journey-section .section-subheading {
 position: relative;
 margin-bottom: 3rem;
 font-size: 0.82rem;
 letter-spacing: 0.08em;
 color: var(--muted, #999);
}
.thought-section .section-subheading::after,
.journey-section .section-subheading::after {
 content: "";
 display: block;
 width: clamp(48px, 12vw, 100px);
 height: 1px;
 margin: 1.1rem auto 0;
 background: linear-gradient(90deg, transparent, var(--sage, #6b9080), transparent);
 opacity: 0.45;
}

.thoughts-filter {
 display: flex;
 flex-wrap: wrap;
 gap: 0.5rem;
 margin: 0 0 1.6rem;
 padding: 0;
 justify-content: center;
}
.thoughts-tab {
 flex: none;
 padding: 0.4rem 1rem;
 font-size: 0.78rem;
 font-weight: 500;
 letter-spacing: 0.04em;
 color: var(--sage-deep, #4f7669);
 background: var(--surface-solid, #fffdf7);
 border: 1px solid rgba(108, 120, 98, 0.18);
 border-radius: 999px;
 cursor: pointer;
 transition: all 0.28s cubic-bezier(0.23, 1, 0.32, 1);
 font-family: inherit;
 user-select: none;
}
.thoughts-tab:hover {
 border-color: rgba(107, 144, 128, 0.45);
 color: var(--sage, #6b9080);
 transform: translateY(-1px);
}
.thoughts-tab.active {
 color: #fffdf7;
 background: var(--sage, #6b9080);
 border-color: var(--sage, #6b9080);
 box-shadow: 0 4px 12px rgba(107, 144, 128, 0.2);
}
.thoughts-tab.active:hover {
 transform: translateY(-2px);
 box-shadow: 0 6px 16px rgba(107, 144, 128, 0.28);
}

.thought-wall {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: clamp(0.8rem, 2.5vw, 1.4rem);
 margin: 0 0 2rem;
}
.thought-wall-empty {
 grid-column: 1 / -1;
 padding: 3rem 1rem;
 text-align: center;
 color: var(--muted, #999);
 font-size: 0.92rem;
 letter-spacing: 0.04em;
 background: rgba(107, 144, 128, 0.04);
 border: 1px dashed rgba(108, 120, 98, 0.2);
 border-radius: 14px;
}

.thought-card {
 position: relative;
 display: flex;
 flex-direction: column;
 gap: 0.6rem;
 padding: clamp(1rem, 2.5vw, 1.4rem);
 background: var(--surface, rgba(255, 252, 245, 0.85));
 border: 1px solid rgba(108, 120, 98, 0.12);
 border-radius: 14px;
 box-shadow:
 0 1px 3px rgba(80, 78, 64, 0.04),
 0 6px 18px rgba(80, 78, 64, 0.05);
 cursor: pointer;
 transform: rotate(var(--tilt, 0deg));
 transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
 box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1),
 border-color 0.4s ease,
 background 0.4s ease;
 overflow: hidden;
 background-image: radial-gradient(rgba(120, 110, 90, 0.03) 0.6px, transparent 0.6px);
 background-size: 12px 12px;
}
.thought-card::before {
 content: "";
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 height: 3px;
 background: linear-gradient(90deg, var(--sage, #6b9080), var(--clay, #b78168));
 opacity: 0.6;
 transition: opacity 0.3s;
}
.thought-card:hover {
 transform: rotate(0deg) translateY(-4px);
 box-shadow:
 0 4px 12px rgba(80, 78, 64, 0.07),
 0 18px 36px rgba(80, 78, 64, 0.1);
 border-color: rgba(107, 144, 128, 0.32);
}
.thought-card:hover::before {
 opacity: 1;
}

.thought-card--reading { border-left: 3px solid var(--sage, #6b9080); }
.thought-card--growth { border-left: 3px solid var(--clay, #b78168); }
.thought-card--note {
 border-left: 3px solid rgba(183, 129, 104, 0.4);
 background-color: rgba(255, 248, 234, 0.85);
}
.thought-card--card { border-left: 3px solid rgba(107, 144, 128, 0.32); }

.thought-card-type {
 display: inline-flex;
 align-self: flex-start;
 padding: 0.18rem 0.6rem;
 font-size: 0.66rem;
 font-weight: 600;
 letter-spacing: 0.06em;
 color: var(--sage-deep, #4f7669);
 background: rgba(107, 144, 128, 0.12);
 border-radius: 999px;
}
.thought-card--growth .thought-card-type { color: var(--clay, #b78168); background: rgba(183, 129, 104, 0.12); }
.thought-card--note .thought-card-type { color: var(--clay, #b78168); background: rgba(183, 129, 104, 0.1); }

.thought-card-title {
 margin: 0;
 font-size: 1rem;
 font-weight: 700;
 line-height: 1.4;
 color: #2a3328;
}
.thought-card-snippet {
 margin: 0;
 font-size: 0.82rem;
 line-height: 1.6;
 color: var(--muted, #6b7268);
 display: -webkit-box;
 -webkit-line-clamp: 3;
 -webkit-box-orient: vertical;
 overflow: hidden;
}
.thought-card-date {
 margin-top: auto;
 font-size: 0.7rem;
 color: var(--muted, #999);
 letter-spacing: 0.05em;
}

.dark-mode .thought-card {
 background-color: rgba(38, 38, 38, 0.92);
 background-image: radial-gradient(rgba(200, 210, 200, 0.03) 0.6px, transparent 0.6px);
 border-color: rgba(138, 171, 154, 0.16);
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 6px 18px rgba(0, 0, 0, 0.15);
}
.dark-mode .thought-card:hover {
 border-color: rgba(138, 171, 154, 0.42);
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 18px 36px rgba(0, 0, 0, 0.25);
}
.dark-mode .thought-card-title { color: #e8e8e8; }
.dark-mode .thought-card-snippet { color: #aaa; }
.dark-mode .thought-card--note {
 background-color: rgba(50, 44, 34, 0.88);
}
.dark-mode .thoughts-tab {
 color: #a8c4b8;
 background: rgba(35, 39, 34, 0.6);
 border-color: rgba(138, 171, 154, 0.22);
}
.dark-mode .thoughts-tab:hover {
 border-color: rgba(138, 171, 154, 0.5);
 color: #c8dccb;
}
.dark-mode .thoughts-tab.active {
 background: var(--sage, #6b9080);
 color: #1c1c1c;
 border-color: var(--sage, #6b9080);
}
.dark-mode .thought-wall-empty {
 background: rgba(138, 171, 154, 0.04);
 border-color: rgba(138, 171, 154, 0.18);
 color: rgba(245, 241, 232, 0.6);
}

.thought-detail {
 position: fixed;
 inset: 0;
 z-index: 1000;
 display: flex;
 align-items: center;
 justify-content: center;
 opacity: 0;
 pointer-events: none;
 transition: opacity 0.22s ease;
}
.thought-detail.open {
 opacity: 1;
 pointer-events: auto;
}
.thought-detail-card {
 position: relative;
 width: 90vw;
 max-width: 580px;
 max-height: 85vh;
 border-radius: 16px;
 background: var(--surface-solid, #fffdf7);
 box-shadow:
 0 24px 64px rgba(0, 0, 0, 0.18),
 0 0 0 1px rgba(107, 144, 128, 0.08);
 overflow: hidden;
 transform: translateY(16px) scale(0.98);
 transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
 display: flex;
 flex-direction: column;
}
.thought-detail.open .thought-detail-card {
 transform: translateY(0) scale(1);
}
.thought-detail-close {
 position: absolute;
 top: 0.75rem;
 right: 0.75rem;
 width: 40px;
 height: 40px;
 display: flex;
 align-items: center;
 justify-content: center;
 border: none;
 border-radius: 50%;
 background: rgba(107, 144, 128, 0.1);
 color: var(--sage-deep, #4f7669);
 font-size: 1rem;
 line-height: 1;
 cursor: pointer;
 z-index: 2;
 transition: background 0.25s, color 0.25s, transform 0.25s;
}
.thought-detail-close:hover {
 background: rgba(107, 144, 128, 0.22);
 transform: rotate(90deg);
}
.thought-detail-body {
 padding: 2rem;
 overflow-y: auto;
 -webkit-overflow-scrolling: touch;
}

.td-type {
 display: inline-block;
 margin-bottom: 0.6rem;
 padding: 0.18rem 0.6rem;
 font-size: 0.7rem;
 font-weight: 600;
 letter-spacing: 0.05em;
 color: var(--sage-deep, #4f7669);
 background: rgba(107, 144, 128, 0.12);
 border-radius: 999px;
}
.td-title {
 margin: 0 0 0.6rem;
 font-size: 1.2rem;
 font-weight: 700;
 line-height: 1.4;
 color: #2a3328;
}
.td-meta {
 margin: 0.4rem 0;
 font-size: 0.86rem;
 line-height: 1.7;
 color: var(--muted, #6b7268);
}
.td-image {
 display: block;
 width: 100%;
 max-height: 220px;
 object-fit: cover;
 border-radius: 10px;
 margin: 0 0 1rem;
}
.td-quote {
 margin: 0 0 1rem;
 padding: 0.8rem 1rem;
 border-left: 3px solid var(--sage, #6b9080);
 background: rgba(107, 144, 128, 0.06);
 font-size: 0.92rem;
 font-style: italic;
 line-height: 1.7;
 color: #2a3328;
}
.td-bookmarks {
 display: flex;
 flex-wrap: wrap;
 gap: 0.4rem;
 margin: 0 0 1rem;
}
.td-bookmark {
 padding: 0.22rem 0.6rem;
 font-size: 0.74rem;
 font-weight: 500;
 border-radius: 5px;
 color: var(--sage-deep, #4f7669);
 background: rgba(107, 144, 128, 0.08);
 border: 1px solid rgba(107, 144, 128, 0.14);
}
.td-bookmark.is-read {
 color: var(--clay, #b78168);
 background: rgba(183, 129, 104, 0.1);
 border-color: rgba(183, 129, 104, 0.24);
}
.td-progress {
 height: 6px;
 border-radius: 999px;
 overflow: hidden;
 background: rgba(107, 144, 128, 0.1);
 margin: 0.6rem 0 0.4rem;
}
.td-progress-fill {
 height: 100%;
 background: var(--sage, #6b9080);
 border-radius: inherit;
}
.td-tags {
 display: flex;
 flex-wrap: wrap;
 gap: 0.4rem;
 margin: 0.6rem 0 0;
}
.td-tag {
 padding: 0.18rem 0.55rem;
 font-size: 0.7rem;
 color: var(--muted, #6b7268);
 background: rgba(108, 120, 98, 0.08);
 border-radius: 12px;
 letter-spacing: 0.03em;
}

.dark-mode .thought-detail-card {
 background: rgba(38, 38, 38, 0.98);
 box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(138, 171, 154, 0.12);
}
.dark-mode .thought-detail-close {
 background: rgba(138, 171, 154, 0.12);
 color: #a8c4b8;
}
.dark-mode .thought-detail-close:hover {
 background: rgba(138, 171, 154, 0.24);
}
.dark-mode .td-title { color: #e8e8e8; }
.dark-mode .td-meta { color: #aaa; }
.dark-mode .td-quote {
 color: #e8e8e8;
 background: rgba(138, 171, 154, 0.08);
 border-left-color: var(--sage, #6b9080);
}
.dark-mode .td-bookmark {
 color: #a8c4b8;
 background: rgba(138, 171, 154, 0.1);
 border-color: rgba(138, 171, 154, 0.18);
}
.dark-mode .td-bookmark.is-read,
.dark-mode .td-type {
 color: #d8a890;
 background: rgba(183, 129, 104, 0.15);
 border-color: rgba(183, 129, 104, 0.28);
}
.dark-mode .td-progress {
 background: rgba(138, 171, 154, 0.14);
}
.dark-mode .td-tag {
 color: rgba(245, 241, 232, 0.7);
 background: rgba(138, 171, 154, 0.1);
}

@media (max-width: 640px) {
 .thoughts-filter {
 justify-content: flex-start;
 overflow-x: auto;
 flex-wrap: nowrap;
 padding-bottom: 0.4rem;
 -webkit-overflow-scrolling: touch;
 }
 .thoughts-tab {
 flex: none;
 }
 .thought-wall {
 grid-template-columns: 1fr 1fr;
 gap: 0.8rem;
 }
 .thought-card {
 transform: none;
 }
 .thought-card:hover {
 transform: translateY(-3px);
 }
 .thought-detail {
 align-items: flex-end;
 }
 .thought-detail-card {
 width: 100vw;
 max-width: none;
 max-height: 90vh;
 border-radius: 16px 16px 0 0;
 transform: translateY(100%);
 transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
 }
 .thought-detail.open .thought-detail-card {
 transform: translateY(0);
 }
 .thought-detail-body {
 padding: 1.4rem;
 }
}

@media (prefers-reduced-motion: reduce) {
 .thought-detail,
 .thought-detail-card,
 .thought-detail-close,
 .thought-card {
 transition: none;
 }
}