
/* Reef journal: one straight timeline, tactile paper, quiet surfaces. */
:root{--reef-radius:24px;--reef-shadow:0 2px 3px #263e2910,0 12px 26px #263e2914;--reef-sheet:#fffdf1;--reef-deep:#214b3e}
body{background:#f3f1e4}
.reef-wrap{width:min(1320px,calc(100% - 80px))}
.reef-opening{min-height:0}
.reef-hero{padding-block:26px 10px}
.reef-intro h1{font-size:clamp(3.3rem,6vw,5.5rem)}
.reef-scene{max-width:720px}
.reef-topbar{min-height:90px}
.reef-latest-wrap{padding-top:36px}
.reef-latest-change{display:flex;align-items:center;gap:22px;padding:27px 30px;border:1px solid #35634d;border-radius:var(--reef-radius);background:linear-gradient(125deg,#295a46,#183f34);color:#fff9e3;text-decoration:none;box-shadow:inset 0 1px 0 #ffffff24,var(--reef-shadow)}
.reef-latest-mark{display:grid;place-items:center;width:52px;height:52px;flex:none;border-radius:50%;font-size:26px;background:#d9e8b6;color:#1f432d;box-shadow:inset 0 1px 0 #ffffef,0 3px 8px #0d25184d}
.reef-latest-change .reef-section-label{display:block;color:#e3ebce;font-size:11px;letter-spacing:.09em;margin:0 0 8px}
.reef-latest-change strong{font:750 clamp(20px,2.3vw,28px)/1.2 'Bricolage Grotesque',sans-serif;letter-spacing:-.5px}
.reef-latest-change p{color:#f5f2dd;font-size:14px;line-height:1.7;margin-top:7px}
.reef-latest-action{margin-left:auto;flex:none;font-size:13px;text-decoration:underline;text-underline-offset:5px}
.reef-latest-change:hover{background:linear-gradient(125deg,#30664e,#214c3e)}
.reef-latest-change:focus-visible{outline:3px solid #a15a2b;outline-offset:4px}
.reef-start{padding-block:16px 0;border:0}
.reef-start-details{border-bottom:1px solid #c7cdb9}
.reef-start-details>summary{display:flex;justify-content:space-between;align-items:center;min-height:64px;font-weight:600;font-size:14px;cursor:pointer;list-style:none}
.reef-start-details>summary::-webkit-details-marker{display:none}
.reef-start-details>summary span{font-size:24px}
.reef-start-details[open]>summary span{transform:rotate(45deg)}
.reef-start-details #start-content{padding:22px 0}
.reef-body{padding-top:48px;gap:48px;grid-template-columns:minmax(0,1fr) 318px}
.reef-section-intro{font-size:14px;line-height:1.8;color:#53624c;margin:-8px 0 25px}
.reef-build{border:0;border-radius:0;box-shadow:none;background:none;padding:0}
.reef-build h2{font-size:34px}
.reef-timeline{list-style:none;margin:0;padding:8px 0 22px;position:relative}
.reef-timeline:before{content:'';position:absolute;top:28px;bottom:0;left:50%;width:2px;background:#95a88c;transform:translateX(-50%)}
.reef-timeline-entry{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:44px;margin-bottom:22px}
.reef-timeline-entry:last-child{margin-bottom:0}
.reef-timeline-entry:before{content:'';position:absolute;left:50%;top:31px;width:12px;height:12px;border-radius:50%;background:#f3f1e4;border:3px solid #738c68;transform:translateX(-50%);box-shadow:0 0 0 5px #f3f1e4}
.reef-timeline-entry:nth-child(even) .reef-change-card{grid-column:2}
.reef-timeline-entry:nth-child(even):before{top:31px}
.reef-change-card{padding:24px 22px;border:1px solid #c2cdb2;border-radius:var(--reef-radius);background:linear-gradient(145deg,#fffef5,#f2f2df);box-shadow:inset 0 1px 0 #fff,var(--reef-shadow);scroll-margin-top:28px;min-width:0}
.reef-change-card :is(h2,h3){font:750 clamp(21px,2.3vw,27px)/1.15 'Bricolage Grotesque',sans-serif;letter-spacing:-.6px;margin:14px 0}
.reef-change-card :is(h2,h3) a{color:inherit;text-decoration:none}
.reef-change-card :is(h2,h3) a:hover{text-decoration:underline;text-underline-offset:4px}
.reef-change-card>p{font-size:14px;line-height:1.8}
.reef-change-card .reef-change-date{font-size:11px;color:#516147;line-height:1.8;margin:0}
.reef-latest-label{font-weight:750;margin-right:6px}
.reef-change-facts{display:flex;gap:6px;flex-wrap:wrap;list-style:none;padding:0;margin:18px 0 5px}
.reef-change-facts li{background:#e2e8d1;color:#3d5336;border:1px solid #c0cfac;border-radius:12px;padding:5px 9px;font-size:10px;line-height:1.5}
.reef-change-latest:before{border-color:#224d3b;background:#224d3b}
.reef-change-latest .reef-change-card{background:linear-gradient(145deg,#2e5a43,#1c4032);border-color:#214d36;color:#fff9e6;box-shadow:inset 0 1px 0 #ffffff2b,0 3px 5px #183c2320,0 14px 28px #183c2325}
.reef-change-latest .reef-change-date{color:#e5eed6}
.reef-change-latest .reef-change-facts li{background:#45694d;color:#fffde7;border-color:#6a8766}
.reef-change-latest .reef-read-link{color:#fff9e6}
.reef-change-card .reef-read-link{font-size:12px}
.reef-change-why{margin-top:22px;border-top:1px solid #a7ba915c;padding-top:18px}
.reef-change-why>p{font-size:12px;font-weight:700;margin-bottom:8px}
.reef-change-why a{display:block;font-size:14px;line-height:1.6;padding-block:7px}
.reef-change-receipt{margin-top:20px;border-top:1px solid #a7ba915c;padding-top:8px}
.reef-change-receipt summary{font-size:14px;cursor:pointer;min-height:44px;display:flex;align-items:center;text-decoration:underline;text-underline-offset:4px}
.reef-change-receipt table{width:100%;font-size:12px;border-collapse:collapse;line-height:1.7}
.reef-change-receipt caption{text-align:left;font-size:11px;padding-bottom:10px}
.reef-change-receipt td,.reef-change-receipt th{border-bottom:1px solid #a7ba915c;padding:9px 0;text-align:left}
.reef-change-receipt tbody th{font-weight:400}
.reef-change-receipt td:last-child,.reef-change-receipt thead th:last-child{text-align:right;white-space:nowrap;padding-left:12px}
.reef-changelog-page{max-width:1020px;margin-inline:auto}
.reef-changelog-page .reef-timeline{padding-bottom:30px}
.reef-changelog-page .reef-timeline-entry{gap:52px}
.reef-changelog-page .reef-change-card{padding:28px}
.reef-change-footnote{font-size:12px;line-height:1.8;color:#526448;margin-top:30px}
.reef-pinboard{background:linear-gradient(145deg,#d7ddc7,#c9d1b7);border:1px solid #b6c2a2;border-radius:var(--reef-radius);box-shadow:inset 0 2px 7px #30492e12;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#687e56 #c8d0b7;padding:30px 24px 24px}
.reef-guides-list{display:flex;gap:24px;list-style:none;padding:0;margin:0;align-items:stretch}
.reef-guide,.reef-guide:last-child{position:relative;overflow:visible;flex:0 0 290px;border:1px solid #d6d4bd;border-radius:8px;background:#fffdf0;box-shadow:0 2px 3px #223d291a,3px 10px 15px #223d2926;scroll-snap-align:start;padding:0;transition:transform .15s ease}
.reef-guide:before{content:'';position:absolute;left:50%;top:-10px;width:15px;height:15px;border-radius:50%;background:radial-gradient(circle at 35% 25%,#d69b79,#a25f3d 65%,#784b34);box-shadow:1px 3px 3px #413b3552,inset 0 1px 1px #ffe1bd;z-index:1}
.reef-guide:nth-child(2n){transform:rotate(1deg)}
.reef-guide:nth-child(2n+1){transform:rotate(-.65deg)}
.reef-guide:has(.reef-article-link:hover){transform:translateY(-3px);box-shadow:0 2px 4px #223d2920,3px 13px 20px #223d292a}
.reef-article-link>img{border:0;border-radius:7px 7px 0 0;aspect-ratio:16/10;width:100%;height:auto;object-fit:cover}
.reef-guide h3{font-size:23px;line-height:1.15}
.reef-card-copy{padding:20px}
.reef-guide .reef-post-date{font-size:11px;color:#526347;margin:0 0 12px}
.reef-board-hint{font-size:11px;color:#53624c;margin:-12px 0 14px}
.reef-goal{border:1px solid #d6c490;border-radius:var(--reef-radius);box-shadow:inset 0 1px 0 #fff9db,var(--reef-shadow);transform:none;margin-inline:0;background:linear-gradient(145deg,#fff3cc,#efe1b7)}
.reef-goal:before,.reef-goal:after{display:none}
.reef-goal>h2,.reef-goal>div{transform:none}
.reef-page-preview{border:1px solid #becbad;border-radius:var(--reef-radius);box-shadow:var(--reef-shadow);background:linear-gradient(140deg,#fffef1,#e8edda)}
.reef-page-preview>a>img{border:0}
.reef-page-preview .reef-photo-credit{border-top:1px solid #d3dbc4}
.reef-feed-window{border:1px solid #9daf8c;border-radius:var(--reef-radius);box-shadow:inset 0 1px 0 #fff,var(--reef-shadow);background:#faf8eb;top:24px}
.reef-window-titlebar{border-radius:23px 23px 0 0;border-bottom:1px solid #244832}
.reef-feed-footer{border-radius:0 0 23px 23px}
.reef-window-profile{background:linear-gradient(#fffdf0,#f0f1df)}
.reef-article-context{border:1px solid #c0ceae;border-left:4px solid #6d8752;border-radius:16px;box-shadow:var(--reef-shadow)}
.reef-article-context ul{padding-left:20px;margin-block:6px}
.reef-article-context li{margin-bottom:6px}
.reef-spending-total{border:1px solid #a3b88a;border-radius:var(--reef-radius);box-shadow:inset 0 1px 0 #ffffffa0,var(--reef-shadow)}
.reef-section-history{margin:50px 0 25px;padding:28px;border:1px solid #c2cdb2;border-radius:var(--reef-radius);background:#e9eddb;box-shadow:var(--reef-shadow)}
.reef-section-history h2{font:750 28px/1.2 'Bricolage Grotesque',sans-serif;margin:0 0 12px}
.reef-section-history>p{font-size:14px}
.reef-section-history ol{list-style:none;margin:20px 0 0;padding-left:20px;border-left:2px solid #97ad86}
.reef-section-history li{padding:0 0 22px;position:relative}
.reef-section-history li:last-child{padding-bottom:0}
.reef-section-history li:before{content:'';position:absolute;left:-26px;top:4px;border-radius:50%;width:10px;height:10px;background:#517344;border:1px solid #e9eddb}
.reef-section-history time{display:block;font-size:11px;margin-bottom:8px}
.reef-section-history a{font-size:16px;font-weight:650}
.reef-section-history li p{font-size:13px;line-height:1.8;margin-top:8px}
.reef-gear-photo{max-width:680px;margin:30px auto 40px}
.reef-gear-photo img{width:100%;height:auto;display:block;border-radius:var(--reef-radius);box-shadow:var(--reef-shadow)}
.reef-gear-photo figcaption{font-size:12px;line-height:1.8;margin-top:12px;color:#516347}
.reef-ledger-table{border-collapse:separate;border-spacing:0}
.reef-research{border-radius:var(--reef-radius)}
@media(max-width:1100px){.reef-body{gap:30px;grid-template-columns:minmax(0,1fr) 290px}.reef-timeline-entry{gap:30px}.reef-change-card{padding:20px 17px}}
@media(max-width:950px){.reef-timeline-entry{grid-template-columns:1fr;padding-left:28px}.reef-timeline:before,.reef-timeline-entry:before{left:0}.reef-timeline-entry:nth-child(even) .reef-change-card{grid-column:1}}
@media(max-width:800px){.reef-wrap{width:calc(100% - 40px)}.reef-body{display:flex;gap:0;padding-top:35px}.reef-feed-window{order:0;height:auto;margin:10px 0 35px}.reef-latest-wrap{padding-top:24px}.reef-latest-change{gap:15px;flex-wrap:wrap;padding:23px}.reef-latest-mark{width:40px;height:40px;font-size:22px}.reef-latest-change>div{flex:1;min-width:160px}.reef-latest-action{margin:0 0 0 55px}.reef-timeline-entry{grid-template-columns:1fr;padding-left:30px;gap:0;margin-bottom:24px}.reef-timeline:before,.reef-timeline-entry:before{left:3px}.reef-timeline-entry:nth-child(even) .reef-change-card{grid-column:1}.reef-change-card{padding:24px}.reef-changelog-page .reef-timeline-entry{gap:0}.reef-changelog-page .reef-change-card{padding:24px}.reef-change-card :is(h2,h3){font-size:27px}.reef-guide,.reef-guide:last-child{flex-basis:275px}.reef-hero{padding-block:25px 5px}.reef-build h2{font-size:32px}.reef-section-history{padding:24px}}
@media(max-width:560px){.reef-topbar{min-height:0}.reef-nav{flex-wrap:wrap;justify-content:flex-start;gap:0 17px;font-size:12px}.reef-latest-change{padding:22px;gap:12px}.reef-latest-mark{display:none}.reef-latest-action{margin:0}.reef-latest-change strong{font-size:24px}.reef-latest-change p{font-size:13px}.reef-start-details>summary{font-size:13px;gap:14px}.reef-pinboard{padding:28px 18px 20px;margin-inline:0}.reef-guide,.reef-guide:last-child{flex-basis:calc(100vw - 112px);max-width:320px}.reef-card-copy{padding:20px}.reef-timeline-entry{padding-left:25px}.reef-change-card,.reef-changelog-page .reef-change-card{padding:23px 20px}.reef-change-card :is(h2,h3){font-size:25px}.reef-change-facts li{font-size:11px}.reef-page-preview>a>div{padding:24px}.reef-section-intro{font-size:14px}.reef-change-card .reef-change-date{font-size:11px}.reef-article-heading h1{font-size:37px}}
@media(prefers-reduced-motion:reduce){.reef-guide{transition:none}}
@media(forced-colors:active){.reef-change-card,.reef-latest-change,.reef-pinboard,.reef-guide,.reef-page-preview{border:1px solid CanvasText}.reef-timeline:before{background:CanvasText}.reef-timeline-entry:before{border-color:CanvasText}}


.reef-change-receipt summary:after{content:"+";margin-left:auto;font-size:20px;padding-left:12px}.reef-change-receipt[open] summary:after{content:"−"}
