/* Approved Home composition; learning data and navigation remain shared. */
.daily-home{position:relative;isolation:isolate;max-width:1280px;padding-top:160px;padding-bottom:20px}
.home-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.home-panorama{position:absolute;z-index:-1;left:50%;top:0;transform:translateX(-50%);width:min(1600px,100vw);height:440px;overflow:hidden;pointer-events:none}
.home-panorama img{width:100%;height:100%;display:block;object-fit:cover;object-position:50% 42%;filter:contrast(.92) saturate(.92)}
.home-panorama:after{content:'';position:absolute;inset:0;background:linear-gradient(to bottom,#f6f5ef12 20%,#f6f5ef45 48%,#f6f5efc2 78%,var(--paper) 100%),linear-gradient(to right,var(--paper),transparent 9%,transparent 91%,var(--paper))}
.home-overview{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);grid-template-areas:'review facts' 'continue ordby';gap:18px;margin-bottom:12px;align-items:stretch}
.home-learning-column,.home-side-column{display:contents}
.home-nav-card{color:var(--ink);cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease}
.home-nav-card:hover{border-color:#92a787;box-shadow:0 4px 18px #243e3309}
.home-nav-card:focus-visible,.home-retention-info:focus-visible{outline:3px solid #668359;outline-offset:4px}
.home-card-arrow{font-size:28px;line-height:1;color:var(--green);align-self:center;transition:transform .18s ease}
.home-nav-card:hover .home-card-arrow{transform:translateX(3px)}
.home-review{grid-area:review;position:relative;display:flex;align-items:flex-start;min-width:0;min-height:318px;padding:25px 34px;border:1px solid #c4d0ba;border-radius:16px;background:#ecf1e5;overflow:hidden}
.home-review-copy{position:relative;z-index:1;max-width:61%}
.home-review h2{font:400 36px/1.2 var(--serif);margin:0 0 9px}
.home-review-number{display:block;font:400 116px/.95 var(--serif);font-variant-numeric:lining-nums tabular-nums;letter-spacing:-2px}
.home-review-breakdown{font-size:17px;line-height:1.5;margin:12px 0 0}
.home-review-cta{display:inline-flex;gap:28px;align-items:center;justify-content:space-between;border:1px solid #526e42;border-radius:40px;background:#668154;color:var(--white);padding:6px 24px;margin-top:23px;font:400 25px/1.4 var(--serif);white-space:nowrap}
.home-review-cta>span{font:28px/1 var(--sans)}
.home-memory{position:absolute;right:-4px;bottom:1px;width:47%;max-width:320px;pointer-events:none}
.home-memory svg{display:block;width:100%;height:auto;overflow:visible}
.home-memory .mind-lid{animation:none;transform:rotate(100deg);transform-origin:248px 148px}
.home-memory text{font:22px var(--font-learning)}
.home-memory-quiet{opacity:.48;width:40%;right:17px}
.home-memory-quiet .mind-lid{transform:none}
.home-review[data-review-state="caught-up"]{background:#fafaf5;border-color:var(--line);align-items:center}
.home-review-clear{display:flex;align-items:center;gap:12px;font-size:15px;margin-top:22px}
.home-review-done{display:inline-grid;place-items:center;flex-shrink:0;width:35px;height:35px;border:1px solid #9eaf98;border-radius:50%;color:#5e7953}
.home-facts{grid-area:facts;display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:16px;background:#fcfbf6;padding:0 18px 18px}
.home-course-fact{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px 8px;align-items:end;padding:20px 10px 22px;border-radius:12px;min-width:0;flex:1}
.home-course-copy{min-width:0}
.home-course-copy h2{font-size:15px;line-height:1.5;font-weight:400;margin:0 0 7px}
.home-level-code{display:block;font:400 68px/1 var(--serif);overflow-wrap:anywhere}
.home-level-code.long-code{font-size:37px}
.home-course-copy p{font-size:14px;margin:5px 0 0}
#home-course-percent{font:400 24px/1.2 var(--serif);text-align:right;margin-bottom:10px;white-space:nowrap}
.home-course-track{grid-column:1/-1;height:15px;border-radius:20px;background:#d7dfce;overflow:hidden}
.home-course-track>span{display:block;height:100%;border-radius:inherit;background:#7c946c}
.home-wordbank-fact{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr) 22px;gap:18px;align-items:center;padding:14px 17px;border-radius:13px;background:#ebf0e4;min-width:0}
.home-word-stack{width:34px;height:34px;color:#6b8460}
.home-bank-copy{min-width:0;border-left:1px solid #c5cfba;padding-left:18px}
.home-bank-total{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}
.home-wordbank-fact strong{font:400 43px/1.05 var(--serif)}
.home-wordbank-fact h2{font:400 15px/1.3 var(--sans);margin:0}
.home-retention{display:flex;gap:9px;align-items:center;font-size:13px;line-height:1.4;margin-top:4px}
.home-retention-info{position:relative;cursor:help;line-height:1;font-size:16px;flex-shrink:0}
.home-retention-tooltip{position:absolute;z-index:5;bottom:calc(100% + 10px);right:-35px;width:230px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--white);color:var(--ink);font:12px/1.5 var(--sans);box-shadow:0 3px 12px #243e3315;visibility:hidden;opacity:0;pointer-events:none}
.home-retention-info:hover .home-retention-tooltip,.home-retention-info:focus .home-retention-tooltip{visibility:visible;opacity:1}
.home-story-panel{grid-area:continue;display:grid;grid-template-columns:minmax(0,1fr) 24px;gap:24px;align-items:center;padding:20px;border:1px solid var(--line);border-radius:16px;background:#fcfbf6;min-width:0;min-height:180px}
.home-story-panel.has-story-image{grid-template-columns:118px minmax(0,1fr) 24px}
.home-next-art,.home-next-art.wide-artwork{display:block;width:100%;min-width:0;aspect-ratio:auto;height:150px;overflow:hidden;border-radius:11px}
.home-next-art img{display:block;width:100%;height:100%;object-fit:cover}
.home-story-panel .continue-copy{min-width:0;padding:0}
.home-continue-label{display:block;font-size:14px;margin-bottom:13px}
.home-lesson-meta{display:block;color:var(--muted);font-size:10px;letter-spacing:1.1px;text-transform:uppercase;line-height:1.6;margin-bottom:8px}
.home-story-panel h2{font:400 36px/1.1 var(--serif);margin:0;overflow-wrap:anywhere}
.home-story-panel.review-complete{background:#eaf0e2;border-color:#b9cbaa}
.home-no-next{display:block;min-height:0;padding-block:23px}
.home-no-next h2{font-size:25px;color:var(--muted)}
.home-ordby{grid-area:ordby;display:grid;grid-template-columns:112px minmax(0,1fr) 22px;gap:20px;align-items:center;border:1px solid var(--line);border-radius:16px;background:#fcfbf6;padding:20px;min-width:0}
.home-ordby-image{display:block;width:112px;height:150px;object-fit:cover;object-position:55% 55%;border-radius:11px}
.home-ordby-copy{min-width:0}.home-ordby-eyebrow{display:block;font-size:10px;letter-spacing:1.2px;text-transform:uppercase;margin-bottom:6px;line-height:1.5}
.home-ordby h2{font:400 38px/1.1 var(--serif);margin:0 0 8px}
.home-ordby p{font-size:14px;line-height:1.5;color:var(--muted);margin:0}
.home-ordby-count{display:inline-block;border-radius:20px;background:#e2ebd9;color:var(--green);font-size:11px;line-height:1.4;padding:4px 9px;margin-top:8px}
.home-ordby.is-locked{background:#f5f5f0;border-color:#e0e2d9}.home-ordby.is-locked .home-ordby-image{filter:grayscale(.65);opacity:.55}.home-ordby.is-locked .home-ordby-eyebrow,.home-ordby.is-locked h2,.home-ordby.is-locked .home-card-arrow{color:#737e70}
.review-memory-word{animation:memory-recall 14s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
.memory-word-1{animation-delay:-3.5s}.memory-word-2{animation-delay:-7s}.memory-word-3{animation-delay:-10.5s}
@keyframes memory-recall{0%,65%,100%{transform:translate(0,0);opacity:.9}20%{transform:translate(5px,-5px);opacity:1}43%{transform:translate(-3px,3px);opacity:.75}}
[data-motion-paused] .review-memory-word,.home-memory[data-rotation-paused] .review-memory-word{animation-play-state:paused}
.memory-word-copy{transition:opacity 220ms ease,transform 220ms ease;transform-box:fill-box;transform-origin:center}
.memory-word-copy.is-changing{opacity:0;transform:translateY(2px)}
@media(max-width:1000px){.daily-home{padding-inline:28px}.home-review{padding:24px;min-height:310px}.home-review h2{font-size:32px}.home-review-number{font-size:100px}.home-review-breakdown{font-size:15px}.home-review-cta{font-size:22px;padding-inline:20px}.home-course-fact{padding-inline:2px}.home-course-copy h2{font-size:13px}.home-level-code{font-size:56px}.home-level-code.long-code{font-size:28px}#home-course-percent{font-size:19px}.home-course-copy p{font-size:12px}.home-wordbank-fact{grid-template-columns:28px minmax(0,1fr) 18px;gap:12px;padding:12px}.home-word-stack{width:28px}.home-bank-copy{padding-left:12px}.home-wordbank-fact strong{font-size:36px}.home-wordbank-fact h2{font-size:12px}.home-retention{font-size:11px}.home-story-panel,.home-ordby{gap:14px;padding:16px}.home-story-panel.has-story-image{grid-template-columns:88px minmax(0,1fr) 20px}.home-next-art,.home-ordby-image{height:132px}.home-story-panel h2{font-size:30px}.home-ordby{grid-template-columns:88px minmax(0,1fr) 18px}.home-ordby-image{width:88px}.home-ordby h2{font-size:32px}.home-ordby p{font-size:12px}}
@media(max-width:760px) and (min-width:601px){.home-overview{gap:12px}.home-facts{padding-inline:10px}.home-review{padding:20px;min-height:300px}.home-review h2{font-size:28px}.home-review-number{font-size:88px}.home-review-cta{font-size:20px;gap:12px;padding-inline:16px}.home-review-breakdown{font-size:12px}.home-level-code{font-size:44px}.home-level-code.long-code{font-size:22px}#home-course-percent{font-size:16px}.home-course-copy p{font-size:10px}.home-bank-total{gap:5px}.home-word-stack{display:none}.home-wordbank-fact{grid-template-columns:minmax(0,1fr) 16px;gap:6px}.home-bank-copy{border:0;padding:0}.home-story-panel.has-story-image{grid-template-columns:64px minmax(0,1fr) 16px}.home-next-art{height:118px}.home-story-panel h2{font-size:26px}.home-ordby{grid-template-columns:62px minmax(0,1fr) 16px;gap:10px}.home-ordby-image{width:62px;height:118px}.home-ordby h2{font-size:27px}.home-lesson-meta{font-size:8px;letter-spacing:.5px}.home-continue-label{font-size:12px}}
@media(max-width:600px){.daily-home{padding:85px 20px 12px}.home-panorama{height:290px}.home-overview{grid-template-columns:minmax(0,1fr);grid-template-areas:'review' 'facts' 'continue' 'ordby';gap:12px}.home-review{min-height:242px;padding:20px;border-radius:12px}.home-review h2{font-size:29px}.home-review-number{font-size:84px}.home-review-breakdown{font-size:13px;margin-top:9px}.home-review-cta{font-size:21px;gap:22px;margin-top:17px;padding:5px 17px}.home-review-copy{max-width:68%}.home-memory{width:46%;right:-6px;bottom:0}.home-memory-quiet{width:40%;right:12px;bottom:7px}.home-review[data-review-state="caught-up"]{min-height:170px}.home-review-clear{font-size:13px;gap:10px;margin-top:17px}.home-review-done{width:29px;height:29px}.home-facts{padding:0 14px 14px;border-radius:12px}.home-course-fact{padding:17px 4px;gap:14px}.home-course-copy h2{font-size:13px}.home-level-code{font-size:55px}.home-level-code.long-code{font-size:32px}.home-course-copy p{font-size:12px}#home-course-percent{font-size:21px;margin-bottom:6px}.home-course-track{height:12px}.home-wordbank-fact{grid-template-columns:30px minmax(0,1fr) 20px;gap:14px;padding:14px}.home-wordbank-fact strong{font-size:38px}.home-wordbank-fact h2{font-size:13px}.home-retention{font-size:12px}.home-story-panel,.home-ordby{border-radius:12px;gap:14px;padding:15px;min-height:140px}.home-story-panel.has-story-image{grid-template-columns:76px minmax(0,1fr) 18px}.home-next-art{height:110px;border-radius:8px}.home-story-panel h2{font-size:27px}.home-continue-label{font-size:11px;margin-bottom:8px}.home-lesson-meta{font-size:8px;letter-spacing:.6px;margin-bottom:5px}.home-card-arrow{font-size:24px}.home-no-next h2{font-size:23px}.home-ordby{grid-template-columns:76px minmax(0,1fr) 18px}.home-ordby-image{width:76px;height:110px;border-radius:8px}.home-ordby h2{font-size:30px}.home-ordby p{font-size:12px}.home-ordby-eyebrow{font-size:9px}.daily-home .placement-entry{margin-top:17px;flex-wrap:wrap;gap:7px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.review-memory-word{animation:none}.home-nav-card,.home-card-arrow,.memory-word-copy{transition:none}.home-nav-card:hover .home-card-arrow,.memory-word-copy{transform:none}}
/* Keep both card rows in view on shorter desktop/laptop windows. */
@media(min-width:761px) and (max-height:900px){
 .daily-home{padding-top:clamp(50px,calc(25vh - 100px),125px);padding-bottom:12px}
 .home-panorama{height:370px}
 .home-overview{gap:14px}
 .home-review{min-height:260px;padding:20px 28px}
 .home-review h2{font-size:32px;margin-bottom:5px}
 .home-review-number{font-size:96px}
 .home-review-breakdown{font-size:15px;margin-top:9px}
 .home-review-cta{font-size:23px;margin-top:16px;padding:5px 22px}
 .home-memory{max-width:265px;width:43%}
 .home-facts{padding:0 16px 14px}
 .home-course-fact{padding:16px 8px;gap:12px 8px}
 .home-level-code{font-size:56px}
 .home-level-code.long-code{font-size:30px}
 .home-course-copy h2{font-size:14px;margin-bottom:5px}
 .home-course-copy p{font-size:13px}
 #home-course-percent{font-size:22px;margin-bottom:7px}
 .home-course-track{height:12px}
 .home-wordbank-fact{padding:12px 15px}
 .home-wordbank-fact strong{font-size:38px}
 .home-story-panel,.home-ordby{padding:16px 20px;min-height:144px;gap:18px}
 .home-story-panel.has-story-image{grid-template-columns:88px minmax(0,1fr) 24px}
 .home-next-art,.home-next-art.wide-artwork{height:110px}
 .home-ordby{grid-template-columns:88px minmax(0,1fr) 22px}
 .home-ordby-image{width:88px;height:110px}
 .home-story-panel h2{font-size:32px}
 .home-ordby h2{font-size:34px}
 .home-continue-label{margin-bottom:9px}
}

/* A quiet window onto Ordby; its weather mirrors waiting reviews. */
.home-town{background:#e9ead9}
.home-town-canvas{display:block;width:100%;height:100%;opacity:0;transition:opacity .6s ease;filter:saturate(.9)}
.home-town.town-ready .home-town-canvas{opacity:1}
.home-weather{display:flex;align-items:center;gap:8px;margin:12px 0 0;font-size:14px;line-height:1.4;color:var(--muted)}
.home-weather svg{flex:none;width:24px;height:24px}
.home-weather strong{font-weight:500;color:var(--green)}
@media(max-width:600px){.home-weather{font-size:12px;margin-top:8px}.home-weather svg{width:20px;height:20px}}
@media(prefers-reduced-motion:reduce){.home-town-canvas{transition:none}}
.daily-home:has(.home-town){padding-top:220px}
.home-panorama.home-town{height:300px}
.home-town:after{background:linear-gradient(to bottom,transparent 45%,#f6f5ef80 68%,#f6f5efd8 86%,var(--paper) 100%),linear-gradient(to right,var(--paper),transparent 8%,transparent 92%,var(--paper))}
@media(max-width:600px){.daily-home:has(.home-town){padding-top:150px}.home-panorama.home-town{height:200px}}
.home-ordby-town{background:#dfe3d3}

/* Home: one next step, a quiet progress line, Ordby from the town. */
.daily-home:has(.home-today-layout){padding-top:230px}
.home-town-enter{position:absolute;z-index:2;top:178px;right:clamp(20px,4vw,48px);display:inline-flex;gap:10px;align-items:center;padding:7px 16px;border:1px solid #d5dccb;border-radius:30px;background:#fdfdf9e6;color:var(--ink);font-size:14px;text-decoration:none;box-shadow:0 2px 10px #24312a14;backdrop-filter:blur(4px)}
.home-town-enter:hover{border-color:#8fa47f}
.home-town-ready{display:inline-flex;align-items:center;gap:6px;margin-left:-2px;padding:2px 9px 2px 7px;border-radius:20px;background:#e4ecdb;color:#2d5546;font-size:12px;font-weight:600;white-space:nowrap}
.home-town-ready:before{content:"";width:7px;height:7px;border-radius:50%;background:#5f8a4f;box-shadow:0 0 0 3px #5f8a4f2e}
.home-today-layout{display:grid;gap:14px;margin-bottom:12px}
.home-today{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,300px);border:1px solid #c4d0ba;border-radius:18px;background:#ecf1e5;overflow:hidden}
.home-today .today-main{padding:30px 36px 28px;min-width:0}
.today-eyebrow{display:block;font-size:12px;letter-spacing:.09em;text-transform:uppercase;color:#5d7351;margin-bottom:10px}
.home-today h2{font:400 clamp(30px,3.4vw,44px)/1.1 var(--serif);margin:0;color:var(--ink)}
.today-number{font-size:1.9em;line-height:.9;display:block;margin-bottom:4px}
.today-detail,.today-caught-up{margin:12px 0 0;color:#52614d;font-size:16px}
.today-caught-up span{color:#5d7a49;margin-right:4px}
.home-today .home-weather{margin-top:12px}
.today-cta{display:inline-flex;gap:26px;align-items:center;margin-top:22px;padding:8px 26px;border:1px solid #526e42;border-radius:40px;background:#668154;color:var(--white);font:400 24px/1.4 var(--serif);text-decoration:none;white-space:nowrap}
.today-cta:hover{background:#58733f}
.today-mind{display:flex;align-items:flex-end;justify-content:center;padding:10px 20px 0}
.today-mind .home-memory{width:100%;max-width:300px}
.today-then{grid-column:1/-1;display:grid;grid-template-columns:120px minmax(0,1fr) 24px;gap:18px;align-items:center;padding:14px 36px;border-top:1px solid #c9d4bf;background:#f4f6ee;color:var(--ink);text-decoration:none}
.today-then:hover{background:#eef2e6}
.today-then-art{width:120px;height:40px;object-fit:cover;border-radius:6px;display:block}
.today-then-label{display:block;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#6b7766}
.today-then-title{display:block;font:400 21px/1.25 var(--serif)}
.home-today[data-mode="story"]{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);background:#fcfbf6;border-color:#b9cbaa}
.today-story-art{position:relative;min-height:280px}
.today-story-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.home-today[data-mode="story"] .today-main{display:flex;flex-direction:column;justify-content:center}
.home-today[data-mode="story"] .today-cta{align-self:flex-start}
.home-progress-line{display:flex;flex-wrap:wrap;gap:10px 28px;justify-content:space-between;align-items:center;padding:12px 22px;border:1px solid var(--line);border-radius:14px;background:#fcfbf6}
.home-progress-line a{display:inline-flex;gap:10px;align-items:center;color:#52614d;text-decoration:none;font-size:15px}
.home-progress-line a:hover{color:var(--ink)}
.home-progress-line strong{font:400 22px/1 var(--serif);color:var(--ink)}
.progress-line-track{display:inline-block;width:clamp(80px,14vw,180px);height:6px;border-radius:6px;background:#e1e6d8;overflow:hidden}
.progress-line-track i{display:block;height:100%;background:#7d9a68;border-radius:6px}
.home-ordby-invite{display:grid;grid-template-columns:auto minmax(0,1fr) 24px;gap:16px;align-items:center;padding:14px 22px;border:1px solid #e5cf9d;border-radius:14px;background:#fbf3df;color:var(--ink);text-decoration:none}
.ordby-invite-label{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#8a6a24}
@media(max-width:760px){
 .daily-home:has(.home-today-layout){padding-top:150px}
 .home-town-enter{top:110px;right:16px;font-size:13px;padding:6px 12px}
 .home-today,.home-today[data-mode="story"]{grid-template-columns:1fr}
 .home-today .today-main{padding:22px 20px}
 .today-mind{display:none}
 .today-story-art{min-height:0;aspect-ratio:3/1}
 .today-then{grid-template-columns:90px minmax(0,1fr) 20px;padding:12px 20px}
 .today-then-art{width:90px;height:30px}
 .today-cta{font-size:21px;padding-inline:20px}
}
.today-mind{position:relative;grid-row:1;grid-column:2;overflow:hidden}
.today-mind .home-memory{position:relative;right:auto;bottom:auto;width:100%;max-width:290px;margin-top:auto}
/* Words drifting out of the head. */
.home-today[data-mode="review"]{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);min-height:340px}
.today-mind{padding:0;align-items:stretch}
.mind-drift{width:100%;height:100%;min-height:300px;display:flex;align-items:flex-end}
.mind-drift svg{width:100%;height:100%;max-height:360px;overflow:visible}
.mind-drift .mind-lid{transform:rotate(104deg);transform-origin:248px 148px}
.mind-drift text{font:20px var(--font-learning);fill:#315346}
.drift-word{animation:drift-out 11s linear infinite;transform-box:view-box;opacity:0}
@keyframes drift-out{
 0%{transform:translate(0,30px) rotate(0deg);opacity:0}
 10%{opacity:1}
 30%{transform:translate(calc(var(--dx)*.22),calc(var(--dy)*.55)) rotate(calc(var(--r)*.4))}
 70%{opacity:.9}
 100%{transform:translate(var(--dx),var(--dy)) rotate(var(--r));opacity:0}
}
[data-motion-paused] .drift-word{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.drift-word{animation:none;opacity:.92;transform:translate(calc(var(--dx)*.5),calc(var(--dy)*.6)) rotate(var(--r))}}
@media(max-width:760px){.today-mind{display:block}.mind-drift{min-height:0;height:170px}.home-today[data-mode="review"]{min-height:0}}
@media(max-width:760px){
 .home-today[data-mode="review"]{grid-template-columns:1fr}
 .today-mind{grid-column:1;grid-row:2;height:190px;margin-top:-18px}
 .mind-drift{height:190px}
 .mind-drift svg{max-height:190px}
}
.home-today[data-mode="rest"]{grid-template-columns:1fr;background:#fcfbf6}
@media(max-width:760px){.home-ordby-invite{grid-template-columns:minmax(0,1fr) 20px}.ordby-invite-label{grid-column:1/-1}}
/* Caught up: weather and status sit on the town strip, opposite "Walk into Ordby". */
.home-town-status{position:absolute;z-index:2;top:178px;left:clamp(20px,4vw,48px);display:inline-flex;gap:8px;align-items:center;margin:0;padding:7px 16px 7px 12px;border:1px solid #d5dccb;border-radius:30px;background:#fdfdf9e6;color:#52614d;font-size:14px;box-shadow:0 2px 10px #24312a14;backdrop-filter:blur(4px)}
.home-town-status svg{width:20px;height:20px;flex:none}
.home-town-status strong{font-weight:500;color:var(--ink)}
@media(max-width:760px){.home-town-status{top:110px;left:16px;font-size:13px;padding:6px 12px 6px 10px}.town-status-extra{display:none}}

/* Fit the next step, what comes after and the progress line in one desktop window
   (author request 2026-11-22): the cards sit higher into the town on shorter windows
   and the review card is more compact. */
@media(min-width:761px){
 .daily-home:has(.home-today-layout){--town-gap:clamp(130px,calc(100vh - 560px),230px);padding-top:var(--town-gap)}
 .home-panorama.home-town{height:calc(var(--town-gap,230px) + 70px)}
 .home-town-enter,.home-town-status{top:calc(var(--town-gap,230px) - 52px)}
 .home-today .today-main{padding:24px 34px 24px}
 .today-eyebrow{margin-bottom:6px}
 .home-today h2{font-size:clamp(30px,3vw,40px)}
 .today-number{font-size:1.75em}
 .home-today .home-weather{margin-top:10px}
 .today-cta{margin-top:18px;padding:6px 24px;font-size:22px}
 .home-today[data-mode="review"]{min-height:0}
 .mind-drift{min-height:250px}
 .mind-drift svg{max-height:290px}
 .today-then{padding:10px 34px}
 .today-story-art{min-height:240px}
}

/* Phone review card (author request 2026-11-22): the head sits small beside Start review,
   so the next story and the progress line stay in view; its words stay inside the card.
   The next-story picture is tall enough to recognise. */
.today-then{grid-template-columns:96px minmax(0,1fr) 24px}
.today-then-art{width:96px;height:60px}
@media(max-width:760px){
 .home-today[data-mode="review"] .today-main{position:relative;z-index:1;padding-bottom:20px}
 .home-today[data-mode="review"] .today-mind{position:relative;z-index:0;height:128px;margin-top:-84px;pointer-events:none}
 .home-today[data-mode="review"] .mind-drift{height:128px}
 .home-today[data-mode="review"] .mind-drift svg{max-height:128px}
 .today-then{grid-template-columns:64px minmax(0,1fr) 20px;gap:14px;padding:10px 20px}
 .today-then-art{width:64px;height:44px}
 .today-then-label{font-size:11px}
}

/* Velkommen til Ordby: a new learner's first step (2026-11-22). */
.home-today[data-mode="welcome"]{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);background:#fcfbf6;border-color:#b9cbaa}
.home-today[data-mode="welcome"] .today-main{display:flex;flex-direction:column;justify-content:center}
.home-today[data-mode="welcome"] .today-cta{align-self:flex-start}
@media(max-width:760px){.home-today[data-mode="welcome"]{grid-template-columns:minmax(0,1fr)}}
.home-today[data-mode="welcome"] .today-detail{margin-top:10px}
/* Very narrow phones (≈320 px): the cards never widen the page. */
.home-today-layout{grid-template-columns:minmax(0,1fr)}
