/* Obsidian / pixel edition. Shared by the public site and the private Hub. */
@import url('/assets/fonts/fonts.css');
:root,:root[data-theme=dark]{color-scheme:dark;--paper:#111215;--card:#1b1d23;--ink:#eeeee8;--muted:#afb2bd;--line:#373b46;--accent:#819aff;--green:#819aff;--soft:#242834;--radius:0;font-family:'DM Sans',system-ui,sans-serif;background:var(--paper);color:var(--ink)}
:root[data-theme=light]{color-scheme:light;--paper:#f3f1ed;--card:#faf9f6;--ink:#181c25;--muted:#555d6e;--line:#c8cbd2;--accent:#3153c7;--green:#3153c7;--soft:#e2e6f2}
html[data-theme] body::before{display:none}
body{background-image:radial-gradient(var(--line) .55px,transparent .55px);background-size:12px 12px}
body:has(.hub-shell){background-image:none}
.site-wrap{max-width:1280px;background:var(--paper)}
.sans,nav,.button,label,input,select,textarea,.meta,.notice,.stat-label,footer{font-family:'DM Sans',system-ui,sans-serif}
.eyebrow,.tag,.topline,.private-label,.theme-toggle,.hub-footer,.site-footer{font-family:ui-monospace,'Cascadia Code',Consolas,monospace;letter-spacing:.7px;font-weight:400;font-size:11px;line-height:1.6}
.brand{font-family:'DM Sans',system-ui,sans-serif;font-size:27px;font-weight:700;letter-spacing:-1px;gap:10px}
.pixel-mark{display:inline-grid;place-items:center;width:30px;height:30px;background:var(--accent);color:var(--paper);font:600 25px/1 'Pixelify Sans',monospace;box-shadow:3px 3px 0 var(--line)}
.brand:after{content:'';width:8px;height:8px;background:var(--accent);align-self:end;margin-bottom:5px}
.site-header{padding:28px 0}
.site-header nav{font-size:14px;gap:22px}
.header-actions{gap:28px}
.hero{grid-template-columns:1.15fr 1fr;gap:44px;min-height:0;align-items:center;padding:65px 0 84px}
.hero h1,.page-title{font:600 clamp(48px,6.3vw,82px)/1.04 'DM Sans',system-ui,sans-serif;letter-spacing:-3px;margin:25px 0 26px;overflow-wrap:normal}
.hero h1 em{font-style:normal;font-weight:600;color:var(--accent);text-shadow:none}
.hero .lede{font:400 16px/1.8 'DM Sans',system-ui,sans-serif;max-width:390px}
.hero .landscape{height:480px;border-radius:0;box-shadow:8px 8px 0 var(--soft);border:1px solid var(--line)}
.hero .landscape img{object-position:50% 65%;image-rendering:pixelated}
.hero .landscape::before{content:'';position:absolute;left:14px;top:14px;z-index:2;width:6px;height:6px;background:var(--accent);box-shadow:8px 0 var(--accent),16px 0 var(--accent),0 8px var(--accent),0 16px var(--accent);pointer-events:none}
.landscape::after{inset:0;background:repeating-linear-gradient(0deg,transparent 0 3px,#00000014 3px 4px);z-index:1}
.landscape .caption{left:18px;right:auto;bottom:18px;background:#111215;color:#eeeee8;padding:9px 12px;font:11px/1.5 ui-monospace,monospace;letter-spacing:.8px}
.scroll-cue{bottom:15px;font-family:ui-monospace,monospace}
.button,.button.small,.theme-toggle{border-radius:2px;min-height:42px;font-size:14px;box-shadow:3px 3px 0 var(--line)}
.button{background:var(--accent);color:var(--paper);border-color:var(--accent);font-weight:600}
.button.secondary{color:var(--ink);background:var(--card);border-color:var(--line)}
.button:hover,.theme-toggle:hover{transform:translate(-1px,-1px);box-shadow:4px 4px 0 var(--line)}
.button:active,.theme-toggle:active{transform:translate(2px,2px);box-shadow:none}
.theme-toggle{font-size:11px;gap:7px;box-shadow:none}
.card,.record-card,.panel,.stat,.empty-state,.aside-note,.backup-strip,.empty-gallery,.photo-grid img,dialog,.field input,.field textarea,.field select,.notice,.status-badge,.hub-nav a{border-radius:0}
.card{box-shadow:none;border:0;border-left:1px solid var(--line);background:transparent;padding:8px 24px 22px}
.card:first-child{border-left:0;padding-left:0}
.card:hover{box-shadow:none}
.card h2,.card h3,.section-heading h2,.prose h2,.aside-note h2,.panel h2,.record-card h2,.empty-state h3,.timeline-day>h2,.timeline-entry h3{font-family:'DM Sans',system-ui,sans-serif;font-weight:600;letter-spacing:-.5px;line-height:1.3}
.card h3,.card h2{font-size:24px}
.card p,.record-card p,.empty-state p{font-size:14px}
.card a{color:var(--accent)}
.page-title{font-size:clamp(38px,5.7vw,70px)}
.lede,.prose{font-family:'DM Sans',system-ui,sans-serif;font-size:16px}
.cards{gap:0}.card .tag{font-size:11px}
.site-footer{margin-top:50px}
.hub-shell{grid-template-columns:205px minmax(0,1fr)}
.sidebar{background:var(--paper);padding:32px 18px}
.sidebar .eyebrow{font-size:10px;letter-spacing:.8px;margin-bottom:32px}
.sidebar .brand{padding:0 8px}
.hub-nav a{font-size:14px;border-left:2px solid transparent}
.hub-nav a[aria-current=page]{color:var(--accent);background:var(--soft);border-color:var(--accent)}
.hub-main{padding:30px 42px;max-width:1450px}
.hub-heading h1{font:600 clamp(30px,3.5vw,46px)/1.15 'DM Sans',system-ui,sans-serif;letter-spacing:-1.5px}
.hub-heading{padding:33px 0 28px}
.hub-heading p{font-family:'DM Sans',system-ui,sans-serif;font-size:15px}
.private-dot{border-radius:0}
.home-top{display:grid;grid-template-columns:1fr 210px;gap:22px;margin-bottom:25px}
.next-trip{display:flex;justify-content:space-between;gap:24px;padding:28px;background:#304ad4;color:#fff;border:1px solid #708aff;box-shadow:5px 5px 0 var(--soft)}
.next-trip>div:first-child{min-width:0}
.next-trip .eyebrow{color:#e3e8ff}
.next-trip h2{font:600 clamp(26px,2.8vw,37px)/1.15 'DM Sans',system-ui,sans-serif;letter-spacing:-1px;overflow-wrap:anywhere;margin:14px 0}
.next-trip p{font-size:14px;line-height:1.7}
.next-trip .button{background:#f1f2ff;color:#172675;border-color:#f1f2ff;box-shadow:3px 3px 0 #162897}
.next-trip .button.secondary{color:#fff;background:transparent;border-color:#98a9ff}
.departure-date{border-left:1px solid #98a9ff;padding-left:22px;text-align:center;align-self:start;display:grid;gap:5px}
.departure-date strong{font:600 60px/1 'DM Sans',system-ui,sans-serif}
.departure-date span{font:11px/1.5 ui-monospace,monospace;text-transform:uppercase}
.quick-actions{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:14px;padding:20px}
.quick-actions .eyebrow{margin-bottom:4px}
.dashboard-grid{grid-template-columns:1fr 1fr}
.panel{padding:23px;background:var(--card)}
.panel h2{font-size:24px;margin:0 0 15px}
.row-item a{text-decoration:none;font-size:14px}
.row-item a:hover{text-decoration:underline;text-underline-offset:4px}
.row-item p{margin:5px 0 0}
.home-task{padding:15px 0;border-top:1px solid var(--line);margin-top:12px;font-size:13px}
.meta{font-size:13px}.attention{font:13px/1.6 'DM Sans',sans-serif;color:var(--accent)}
.home-collections{display:grid;grid-template-columns:repeat(5,1fr);margin:25px 0;border:1px solid var(--line)}
.collection-count{display:flex;align-items:center;gap:12px;padding:18px 15px;text-decoration:none;border-right:1px solid var(--line)}
.collection-count:last-child{border:0}
.collection-count strong{font:600 27px/1 'DM Sans',system-ui,sans-serif}.collection-count span{font-size:13px}
.collection-count:hover{background:var(--soft)}
.backup-strip{border:1px solid var(--line);background:var(--paper);padding:20px}
.backup-strip p{font-size:12px;line-height:1.6}
.record-card h2{font-size:24px}.record-card p{font-family:'DM Sans',system-ui,sans-serif}
.record-card{padding:24px}.status-badge{font-size:11px}
.trip-tabs{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 25px}
.trip-tabs a[aria-current=page],.music-tabs button[aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:var(--soft)}
.prep-overview{border-left:3px solid var(--accent);padding:0 0 0 18px;margin:22px 0;font-size:14px}
.template-bar{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin:30px 0}
.template-bar>.field{max-width:330px;flex:1;min-width:200px}
.prep-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.prep-panel .panel-head{align-items:start;flex-wrap:wrap;margin-bottom:15px}
.prep-panel .panel-head h2{margin:0}.prep-item{padding:20px 0;border-top:1px solid var(--line)}
.prep-item h3{margin:0;font-size:16px;font-weight:500;overflow-wrap:anywhere}
.prep-item .actions{margin-top:14px;gap:10px}
.prep-notes{font-size:13px;color:var(--muted);line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.check-row{display:flex;align-items:center;gap:12px;font-size:14px;line-height:1.6}
.check-row input{width:19px;height:19px;accent-color:var(--accent);flex-shrink:0}
.check-row:has(:checked) span{text-decoration:line-through;color:var(--muted)}
.prep-item-title{overflow-wrap:anywhere}.budget-total{padding:12px;border:1px solid var(--line);margin-bottom:12px;font-size:13px}.budget-total p{line-height:1.7}
.linked-heading{font:600 22px 'DM Sans',system-ui,sans-serif;margin:24px 0 12px}
.checkbox-field{display:flex;align-items:center;gap:12px;grid-column:1/-1}.checkbox-field label{order:2}.checkbox-field input{width:19px;height:19px;accent-color:var(--accent)}
dialog{border:2px solid var(--line);box-shadow:8px 8px 0 #0008}dialog::backdrop{background:#080a10cc}dialog h2{font:600 28px 'DM Sans',system-ui,sans-serif}
.field input,.field textarea,.field select{background:var(--paper);font-size:14px}.field input:disabled{opacity:.5}
.music-intro{display:flex;gap:40px;align-items:center;padding:10px 0 35px}.music-intro h2{font:600 32px/1.2 'DM Sans',system-ui,sans-serif;margin:15px 0}.music-intro p{max-width:560px;font-size:14px}
.pixel-record{width:165px;height:165px;flex-shrink:0;display:grid;place-items:center;background:repeating-radial-gradient(circle,#252936 0 4px,#111215 4px 8px);clip-path:polygon(20% 0,80% 0,80% 5%,90% 5%,90% 15%,100% 15%,100% 85%,90% 85%,90% 95%,80% 95%,80% 100%,20% 100%,20% 95%,10% 95%,10% 85%,0 85%,0 15%,10% 15%,10% 5%,20% 5%)}
.pixel-record span{display:grid;place-items:center;white-space:pre-line;text-align:center;width:66px;height:66px;background:var(--accent);color:var(--paper);font:500 12px/1.3 ui-monospace,monospace}
.receipt-connect{background:var(--soft);border:1px solid var(--line);padding:22px;margin-bottom:28px;font-family:ui-monospace,monospace;font-size:13px}.receipt-connect .button{margin:8px 12px 0 0}
.music-tabs{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px}.music-hero{display:grid;grid-template-columns:1fr 240px;align-items:center;gap:35px;padding:45px 0}.music-hero .pixel-record{width:230px;height:230px}
.music-public-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.music-public-grid article{border-top:1px solid var(--line);padding:22px 0}.music-public-grid h2{font:600 30px 'DM Sans',system-ui,sans-serif}.music-public-grid p{font-size:15px;line-height:1.8;color:var(--muted)}
.pixel-note{font:12px/1.7 ui-monospace,monospace;color:var(--muted);margin-top:22px}
@media(prefers-reduced-motion:no-preference){
 .hero-copy,.page-intro,.hub-heading,.music-hero{animation:pixel-enter .48s steps(6,end) both}
 .brand:after{animation:pixel-cursor .7s steps(1,end) 4}
 .hero .landscape{animation:pixel-enter .6s steps(8,end) both}
 .card:hover h3,.pixel-record:hover span{animation:pixel-nudge .35s steps(2,end)}
 .button,.theme-toggle{transition:transform .12s steps(2,end),box-shadow .12s steps(2,end)}
 @keyframes pixel-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
 @keyframes pixel-cursor{0%,100%{opacity:1}50%{opacity:0}}
 @keyframes pixel-nudge{0%,100%{transform:translateX(0)}35%{transform:translateX(3px)}70%{transform:translateX(-2px)}}
}
@media(max-width:1100px){.hub-main{padding:26px}.hub-shell{grid-template-columns:175px minmax(0,1fr)}.home-top{grid-template-columns:1fr}.quick-actions{flex-direction:row;flex-wrap:wrap;justify-content:start;align-items:center}.quick-actions .eyebrow{width:100%}.hero h1{font-size:clamp(44px,6.6vw,78px)}.hero .landscape{height:420px}.home-collections{grid-template-columns:repeat(3,1fr)}.collection-count{border-bottom:1px solid var(--line)}}
@media(max-width:850px){.prep-grid,.dashboard-grid{grid-template-columns:1fr}.cards{grid-template-columns:1fr}.card,.card:first-child{border-left:0;border-bottom:1px solid var(--line);padding:22px 0}.header-actions{gap:18px}.site-header nav{gap:15px}}
@media(max-width:700px){.hub-shell{display:block}.sidebar{padding:20px}.sidebar .brand{padding:0}.hub-nav{flex-wrap:wrap;overflow:visible;gap:6px;margin-top:22px}.hub-nav a{font-size:12px;min-height:40px;padding:9px}.hub-main{padding:22px 20px}.topline>.eyebrow{font-size:10px}.topline{gap:16px}.hub-top-actions{gap:12px}.hub-heading h1{font-size:36px}.home-collections{grid-template-columns:repeat(2,1fr)}.collection-count{padding:14px}.hero{grid-template-columns:1fr;gap:34px;padding:46px 0 75px}.hero h1{font-size:clamp(44px,11vw,67px);letter-spacing:-1px}.hero .landscape{height:390px;border-radius:0}.site-header .brand{font-size:25px}.site-header nav{flex-wrap:wrap;gap:18px;font-size:12px}.page-title{font-size:42px}.next-trip{padding:22px 18px;gap:15px}.next-trip h2{font-size:30px}.departure-date{padding-left:12px}.departure-date strong{font-size:52px}.departure-date span{font-size:10px}.prep-grid{gap:20px}.panel,.record-card{padding:20px}.music-intro{gap:22px;align-items:start;flex-direction:column}.pixel-record{width:130px;height:130px}.music-hero{grid-template-columns:1fr;padding:35px 0}.music-public-grid{grid-template-columns:1fr}.music-hero .pixel-record{width:190px;height:190px}.field input,.field select,.field textarea{font-size:16px}.template-bar{align-items:stretch}.template-bar>.field{max-width:none;min-width:100%}.theme-toggle{min-height:40px}.hub-heading{flex-wrap:wrap}.prep-panel .button{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.button:hover,.theme-toggle:hover,.button:active,.theme-toggle:active{transform:none}}
/* Pixel details belong in the frame; all reading and input use clear type. */
.trail-companion{display:block;width:135px;height:128px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 8px 12px #0002)}
.with-companion{gap:22px}.with-companion>div{min-width:0}
.travel-welcome{display:flex;align-items:center;gap:32px;margin:0 0 30px;padding:16px 25px;border-bottom:1px solid var(--line)}
.travel-welcome p{font:400 18px/1.7 'DM Sans',system-ui,sans-serif;max-width:540px;color:var(--muted)}
.travel-dashboard{margin-top:24px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:22px}
.travel-deadlines .panel-head,.application-milestones .panel-head{gap:15px;flex-wrap:wrap}
.travel-deadlines .panel-head h2{margin:0}.travel-deadlines .row-item{padding:14px 0}
.permission-details{margin:0 0 24px}.permission-details p{line-height:1.8}
.application-milestones{margin:25px 0}.application-milestones h2{margin:0}
.travel-card .actions:empty{display:none}.travel-card .meta{white-space:normal}
.travel-range{display:flex;align-items:end;gap:18px;flex-wrap:wrap;margin:0 0 24px}.travel-range .field{flex:1;min-width:180px;max-width:260px}
.travel-tally{margin-bottom:26px}.country-totals{display:flex;gap:10px 24px;flex-wrap:wrap}.country-totals p{font-size:15px;margin:0 0 18px}
.counting-method summary{font:500 14px/1.7 'DM Sans',system-ui,sans-serif;cursor:pointer;color:var(--accent)}
.counting-method p{line-height:1.8}.history-warnings{border-left:3px solid var(--accent);padding:0 20px;margin:28px 0}.history-warnings h2{font:600 22px 'DM Sans',system-ui,sans-serif}
.travel-storage-note{margin-top:30px;line-height:1.7}.travel-card h2{overflow-wrap:anywhere}
.companion-note{display:flex;align-items:center;justify-content:center;gap:50px;padding:30px 0 15px;border-top:1px solid var(--line)}
.companion-note img{width:210px;height:200px;object-fit:contain;filter:drop-shadow(0 12px 16px #0002)}
.companion-note p{font:500 30px/1.2 'DM Sans',system-ui,sans-serif;letter-spacing:-.7px;margin:14px 0 20px}
.companion-note a{font:500 14px 'DM Sans',system-ui,sans-serif;color:var(--accent);text-underline-offset:5px}
@media(prefers-reduced-motion:no-preference){.companion-note:hover img{animation:companion-hello .8s ease-in-out}.travel-welcome .trail-companion{animation:pixel-enter .6s steps(8,end) both}@keyframes companion-hello{0%,100%{transform:translateY(0) rotate(0)}45%{transform:translateY(-5px) rotate(-2deg)}}}
@media(max-width:700px){.with-companion{display:grid;grid-template-columns:minmax(0,1fr) 72px;gap:10px}.with-companion .trail-companion{width:72px;height:85px}.with-companion h1{font-size:29px}.travel-welcome{padding:8px 0 24px;gap:18px}.travel-welcome .trail-companion{width:88px;height:95px}.travel-welcome p{font-size:15px}.travel-range{gap:14px}.travel-range .field{max-width:none;min-width:140px}.travel-range .button{width:100%}.companion-note{gap:20px;align-items:center}.companion-note img{width:125px;height:145px}.companion-note p{font-size:24px}.companion-note .eyebrow{font-size:9px}.companion-note a{font-size:12px}}
.interest-lab{margin:8px 0 68px;scroll-margin-top:28px;border:1px solid var(--line);background:var(--card);position:relative}
.lab-heading{display:flex;justify-content:space-between;gap:20px;padding:22px 28px;border-bottom:1px solid var(--line);align-items:center}
.lab-heading h2{font:500 17px/1.5 'DM Sans',system-ui,sans-serif;margin:0;letter-spacing:0}
.lab-heading .eyebrow{color:var(--muted);font-size:10px}
.lab-body{display:grid;grid-template-columns:1.35fr 1fr;min-height:410px;align-items:center}
.machine-stage{display:grid;place-items:center;align-self:stretch;padding:26px 24px;position:relative;isolation:isolate;background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:44px 44px;background-position:center}
.machine-stage:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse,transparent,var(--card) 75%)}
.machine-stage img{display:block;width:100%;height:340px;object-fit:contain;filter:drop-shadow(0 20px 24px #0003)}
.machine-copy{padding:32px 38px 32px 22px;min-width:0}
.machine-copy h3{font:500 clamp(29px,3vw,42px)/1.1 'DM Sans',system-ui,sans-serif;letter-spacing:-1.2px;margin:16px 0 20px;max-width:350px}
.machine-copy p{font:400 15px/1.8 'DM Sans',system-ui,sans-serif;color:var(--muted);max-width:340px;min-height:81px;margin:0 0 24px}
.machine-copy a{font:500 14px/1.6 'DM Sans',system-ui,sans-serif;color:var(--accent);text-underline-offset:5px}
.study-controls{display:flex;border-top:1px solid var(--line);gap:0}
.study-controls button{font:500 14px/1.5 'DM Sans',system-ui,sans-serif;flex:1;min-height:64px;color:var(--muted);background:transparent;border:0;border-right:1px solid var(--line);position:relative}
.study-controls button:last-child{border-right:0}
.study-controls button:hover{color:var(--ink);background:var(--soft)}
.study-controls button[aria-pressed=true]{background:var(--soft);color:var(--ink)}
.study-controls button[aria-pressed=true]:before{content:'';position:absolute;top:-1px;left:0;right:0;height:3px;background:var(--accent)}
.study-controls button[aria-pressed=true]:after{content:'';display:inline-block;width:5px;height:5px;background:var(--accent);margin:0 0 2px 10px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.music-machine{display:block;width:210px;height:170px;object-fit:contain;flex-shrink:0}
.music-hero{grid-template-columns:1fr 380px}.music-hero .music-machine{width:100%;height:300px;filter:drop-shadow(0 16px 20px #0003)}
.quick-actions .journey-machine{width:100%;height:100px;object-fit:contain}
@media(max-width:1100px){.quick-actions .journey-machine{display:none}}
@media(max-width:850px){.music-hero{grid-template-columns:1fr 280px}.lab-body{grid-template-columns:1.1fr 1fr}.machine-copy{padding:28px 24px}.machine-stage{padding:16px}.machine-stage img{height:290px}}
@media(max-width:700px){.lab-heading{padding:18px;align-items:start;flex-direction:column;gap:5px}.lab-body{grid-template-columns:1fr;min-height:0}.machine-stage{padding:14px 18px 0}.machine-stage img{height:230px}.machine-copy{padding:18px 24px 28px}.machine-copy h3{font-size:30px;margin:12px 0 16px}.machine-copy p{min-height:0;margin-bottom:18px}.interest-lab{margin-bottom:40px}.study-controls button{font-size:12px;min-height:55px}.study-controls button[aria-pressed=true]:after{margin-left:6px;width:4px;height:4px}.music-hero{grid-template-columns:1fr}.music-hero .music-machine{height:220px;max-width:340px}.music-machine{width:200px;height:150px}}
.section-heading h2:before{content:'';display:inline-block;width:6px;height:6px;background:var(--accent);box-shadow:8px 0 var(--accent),0 8px var(--accent);margin:0 18px 5px 0}
.card{position:relative}.card:hover:after{content:'';position:absolute;right:6px;top:6px;width:5px;height:5px;background:var(--accent);box-shadow:-7px 0 var(--accent),0 7px var(--accent)}
@media(max-width:700px){.hero h1{font-size:clamp(43px,11vw,64px);line-height:1.06;letter-spacing:-2px}.site-header nav{font-size:14px}.hub-heading h1{font-size:32px;line-height:1.18;letter-spacing:-1px}.hub-nav a{font-size:13px}.prep-panel .button{font-size:13px}.next-trip h2{font-size:28px}.next-trip .button{font-size:13px}.page-title{font-size:42px}}
