/* =========================================================
   Omkar Hande · homepage styles
   Hero, the work wheel, approach, the pack and camp.
   Loads after base.css.
   ========================================================= */


/* ================= HERO ================= */
.hero{height:100vh;height:100svh;min-height:680px;padding:12px}
.frame{position:relative;height:100%;border-radius:28px;overflow:hidden;display:grid;grid-template-columns:minmax(400px,42%) 1fr;background:#111111;border:1px solid var(--line)}
.frame-bg{position:absolute;inset:-60px;background-size:cover;background-position:30% 50%;filter:blur(40px) saturate(.9) brightness(.42);transform:scale(1.1)}
.frame-bg img{width:100%;height:100%;object-fit:cover}
.panel{position:relative;z-index:1;display:flex;flex-direction:column;padding:28px clamp(24px,3.4vw,52px) 30px;overflow:hidden;
  background:radial-gradient(70% 55% at 45% -5%,rgba(255,150,50,.30),rgba(255,150,50,0) 70%),
             linear-gradient(180deg,rgba(10,10,11,.35),rgba(10,10,11,.78))}
.beam{position:absolute;top:-20%;left:30%;width:38%;height:85%;background:linear-gradient(180deg,rgba(255,170,80,.22),rgba(255,170,80,0));filter:blur(28px);transform:skewX(-12deg);pointer-events:none;animation:beam 7s ease-in-out infinite alternate}
@keyframes beam{from{opacity:.6;transform:skewX(-12deg) translateX(-8%)}to{opacity:1;transform:skewX(-8deg) translateX(8%)}}
.dust{position:absolute;width:3px;height:3px;border-radius:50%;background:#FFE3D4;box-shadow:0 0 8px #FFC27A;opacity:.0;animation:dust 9s ease-in-out infinite}
@keyframes dust{0%{opacity:0;transform:translateY(20px)}30%{opacity:.8}100%{opacity:0;transform:translateY(-90px)}}


.panel-body{position:relative;z-index:2;margin:auto 0;padding:32px 0}
.hello{display:inline-flex;align-items:center;gap:10px;padding:7px 14px 7px 8px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid var(--line2);font-size:14px;color:var(--soft)}
.hello .hand{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:rgba(255,122,0,.16)}
.hello .hand svg{transform-origin:70% 85%;animation:wave 2.2s ease-in-out .8s 3}
@keyframes wave{0%,100%{transform:rotate(0)}12%,36%{transform:rotate(18deg)}24%,48%{transform:rotate(-8deg)}60%{transform:rotate(0)}}
.hello strong{color:#fff;font-weight:500}
.hero h1{font-size:clamp(42px,4.6vw,76px);margin:22px 0 0}
.hero h1 span{display:block}
.terrain{margin:20px 0 0;max-width:440px;font-size:15px;line-height:1.55;color:var(--muted)}
.terrain em{font-family:var(--tight);font-style:italic;color:var(--accent)}
.intro{margin:18px 0 0;max-width:460px;font-size:16.5px;line-height:1.6;color:var(--soft)}
.intro strong{color:#fff;font-weight:500}
.feats{display:flex;flex-wrap:wrap;gap:8px 16px;margin:22px 0 0;padding:0;list-style:none}
.feats li{display:flex;align-items:center;gap:7px;font-size:12.5px;color:var(--accent)}
.feats svg{flex:none}
.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.hint{position:relative;z-index:2;display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted)}
.hint .dots{display:flex;gap:5px}
.hint .dots span{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.2);transition:background .3s,box-shadow .3s}
.hint .dots span.on{background:var(--mint);box-shadow:0 0 8px var(--mint)}

.in{opacity:0;transform:translateY(18px);animation:in 1.1s cubic-bezier(.2,.8,.2,1) forwards}
.i1{animation-delay:.15s}.i2{animation-delay:.3s}.i3{animation-delay:.45s}.i4{animation-delay:.6s}.i5{animation-delay:.75s}.i6{animation-delay:.9s}
@keyframes in{to{opacity:1;transform:none}}

/* the map */
.map{position:relative;z-index:1;margin:10px;border-radius:20px;overflow:hidden;background:#1E1E20}
.map > img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;animation:settle 2.6s cubic-bezier(.16,.8,.2,1) both}
@keyframes settle{from{transform:scale(1.08)}to{transform:none}}
.map-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,10,11,.25),rgba(10,10,11,0) 30%,rgba(10,10,11,0) 70%,rgba(10,10,11,.35)),radial-gradient(120% 80% at 0% 50%,rgba(10,10,11,.35),transparent 60%);pointer-events:none}
#trail{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.map-top{position:absolute;z-index:4;top:14px;right:70px;left:14px;display:flex;justify-content:space-between;align-items:center;gap:10px;pointer-events:none}
.map-top > *{pointer-events:auto}
.tag{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:10px;background:rgba(10,10,11,.55);border:1px solid var(--line2);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);font-size:12.5px;color:var(--soft)}

.tag.def{position:absolute;z-index:4;left:14px;bottom:14px;margin:0}
.pin{position:absolute;z-index:3;width:40px;height:48px;margin:-46px 0 0 -20px;border:0;padding:0;background:transparent;cursor:pointer;opacity:0;transform:translateY(8px) scale(.6);transition:opacity .5s,transform .5s cubic-bezier(.2,1.5,.4,1)}
.pin.show{opacity:1;transform:none}
.pin .drop{position:absolute;left:0;top:0;width:40px;height:40px;border-radius:50% 50% 50% 4px;transform:rotate(-45deg);background:rgba(28,28,30,.85);border:1.5px solid rgba(245,245,245,.8);box-shadow:0 8px 20px -6px rgba(0,0,0,.6);transition:background .3s,border-color .3s,box-shadow .3s}
.pin .ico{position:absolute;left:0;top:0;width:40px;height:40px;display:grid;place-items:center}
.pin:hover .drop{border-color:var(--mint)}
.pin.on .drop{background:var(--mint);border-color:#FFF6EC;box-shadow:0 0 0 6px rgba(255,122,0,.18),0 0 26px rgba(255,122,0,.55)}
.pin.on .ico svg{stroke:#111111}
.pin .num{position:absolute;left:50%;top:44px;transform:translateX(-50%);font-family:var(--mono);font-size:10px;letter-spacing:.08em;color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.8);white-space:nowrap}

.card{position:absolute;z-index:5;width:min(330px,calc(100% - 28px));padding:18px 18px 16px;border-radius:16px;background:rgba(14,14,15,.78);border:1px solid rgba(255,122,0,.32);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 30px 60px -20px rgba(0,0,0,.7);opacity:0;transform:scale(.94);transition:opacity .35s,transform .45s cubic-bezier(.2,1.2,.4,1);pointer-events:none}
.card.open{opacity:1;transform:none;pointer-events:auto}
.card-top{display:flex;justify-content:space-between;gap:10px;align-items:baseline}
.card h3{font-family:var(--tight);font-weight:500;font-size:21px;letter-spacing:-.02em;margin:8px 0 2px;line-height:1.15}
.card .role{margin:0;font-size:13px;color:var(--muted)}
.card .did{margin:12px 0 0;font-size:14px;line-height:1.55;color:var(--soft)}
.card .learn{margin:12px 0 0;padding-top:12px;border-top:1px solid var(--line);font-size:13.5px;line-height:1.55;color:var(--muted)}
.card .learn strong{display:block;color:var(--accent);font-weight:500;font-size:14px;margin-bottom:2px}
.card-nav{display:flex;align-items:center;justify-content:space-between;margin-top:14px}
.card-nav .pair{display:flex;gap:6px}
.icon-btn{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:rgba(255,255,255,.06);border:1px solid var(--line2);cursor:pointer;transition:background .25s}
.icon-btn:hover{background:rgba(255,122,0,.16)}
.icon-btn:disabled{opacity:.35;cursor:default}

/* ================= WORK: THE HALF WHEEL ================= */
.work{position:relative;height:440vh}
.work-pin{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;background:radial-gradient(60% 55% at 50% 100%,rgba(255,143,31,.16),transparent 70%)}
.work-head{position:relative;z-index:5;display:flex;flex-wrap:wrap;gap:10px 40px;justify-content:space-between;align-items:flex-end;padding-top:clamp(44px,8vh,88px)}
.work-head h2{font-size:clamp(30px,3.8vw,56px)}
.work-head .hint2{margin:0;display:flex;align-items:center;gap:10px;font-size:14px;color:var(--muted)}
.work-head .hint2 svg{animation:nudge 1.8s ease-in-out infinite}
@keyframes nudge{50%{transform:translateY(4px)}}
.wheel-svg{position:absolute;z-index:1;pointer-events:none;will-change:transform}
.wheel-svg .w-tire{fill:none;stroke:var(--text);stroke-width:9;opacity:.92}
.wheel-svg .w-tread{fill:none;stroke:var(--text);stroke-width:3;stroke-dasharray:3 5;opacity:.3}
.wheel-svg .w-rim{fill:none;stroke:var(--accent);stroke-width:2.2}
.wheel-svg .w-spoke{stroke:var(--muted);stroke-width:.9;opacity:.55}
.wheel-svg .w-hub{fill:var(--surface);stroke:var(--accent);stroke-width:2}
.ghost{position:absolute;z-index:1;left:50%;transform:translate(-50%,-50%);font-family:var(--tight);font-weight:500;letter-spacing:-.05em;color:var(--text);opacity:.07;pointer-events:none;line-height:1}
.thumb{position:absolute;z-index:3;padding:0;border-radius:16px;overflow:hidden;border:2px solid var(--line2);background:var(--surface);cursor:pointer;box-shadow:0 14px 30px -14px rgba(0,0,0,.6);transition:border-color .4s,box-shadow .4s}
.thumb img{width:100%;height:100%;object-fit:cover;display:block}
.thumb:hover{border-color:var(--accent)}
.thumb.on{border-color:var(--mint);box-shadow:0 0 0 5px rgba(255,122,0,.16),0 0 34px rgba(255,122,0,.45)}
.feature{position:absolute;z-index:4;left:50%;display:grid;border-radius:22px;overflow:hidden;background:var(--surface);border:1px solid var(--line2);box-shadow:0 40px 80px -36px rgba(0,0,0,.6);transform:translateX(-50%)}
.feature .f-media{position:relative;display:block;overflow:hidden;background:#1E1E20}
.feature .f-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1.2s cubic-bezier(.2,.8,.2,1)}
.feature:hover .f-media img{transform:scale(1.04)}
.feature .f-body{padding:22px;display:flex;flex-direction:column;justify-content:center;gap:8px;min-width:0}
.feature h3{font-family:var(--tight);font-weight:500;font-size:clamp(20px,1.9vw,26px);letter-spacing:-.02em;margin:0;line-height:1.15}
.feature .f-desc{margin:0;font-size:14.5px;line-height:1.55;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.feature .go{display:inline-flex;align-items:center;gap:8px;margin-top:4px;font-size:14px;font-weight:500;color:var(--accent);text-decoration:none}
.feature .go:hover{text-decoration:underline}
.feature .swap{animation:swap .55s cubic-bezier(.2,.8,.2,1)}
@keyframes swap{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.wheel-bar{position:absolute;z-index:5;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;padding:6px;border-radius:14px;background:rgba(16,16,17,.65);border:1px solid var(--line2);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);white-space:nowrap}
.wheel-bar .mono{color:var(--soft);padding:0 4px}
[data-theme="light"] .wheel-bar{background:rgba(255,255,255,.85)}
[data-theme="light"] .feature{box-shadow:0 40px 80px -40px rgba(20,20,22,.35)}
[data-theme="light"] .thumb{box-shadow:0 14px 30px -16px rgba(20,20,22,.35)}
@media (max-width:700px){
  .feature .f-body{padding:14px 16px 16px;gap:6px}
  .feature .f-desc{font-size:13.5px}
}

/* ================= APPROACH ================= */
.approach{position:relative;z-index:1;background:var(--bg2);padding:clamp(90px,12vh,140px) 0;border-top:1px solid var(--line)}
.approach h2{font-size:clamp(34px,4.6vw,66px);max-width:900px}
.sys-grid{display:flex;flex-wrap:wrap;gap:clamp(30px,5vw,60px);align-items:center;margin-top:56px}
.sys-fig{flex:1 1 360px;min-width:0;max-width:480px;margin:0 auto}
.sys-fig svg{width:100%;height:auto;display:block}
#sys .e{stroke:rgba(255,255,255,.2);stroke-width:1.2;stroke-dasharray:1 1;stroke-dashoffset:1;transition:stroke-dashoffset 1.8s cubic-bezier(.4,0,.2,1),stroke .4s}
#sys.seen .e{stroke-dashoffset:0}
#sys .e.hot{stroke:var(--mint);stroke-width:2;filter:drop-shadow(0 0 4px rgba(255,122,0,.7))}
#sys .node circle{fill:var(--surface);stroke:rgba(255,255,255,.25);transition:stroke .4s,fill .4s}
#sys .node.hot circle{stroke:var(--mint);fill:#2A1A12}
#sys .node text{font-family:var(--mono);font-size:12px;letter-spacing:.1em;fill:var(--soft)}
.disc-list{flex:1 1 360px;min-width:0;display:flex;flex-direction:column}
.disc{display:grid;grid-template-columns:48px 1fr;gap:12px;text-align:left;background:transparent;border:0;border-top:1px solid var(--line);padding:22px 0;cursor:pointer;transition:opacity .4s;opacity:.45}
.disc:last-child{border-bottom:1px solid var(--line)}
.disc.on{opacity:1}
.disc h3{font-family:var(--tight);font-weight:500;font-size:23px;letter-spacing:-.02em;margin:0 0 8px}
.disc p{margin:0;font-size:15px;line-height:1.6;color:var(--muted)}

/* ================= PACK + LOG ================= */
.pack{padding:clamp(90px,12vh,140px) 0;border-top:1px solid var(--line)}
.pack-row{display:flex;flex-wrap:wrap;gap:40px;align-items:flex-start}
.tags{flex:2 1 520px;min-width:0;display:flex;flex-wrap:wrap;gap:12px}
.ltag{display:flex;align-items:center;gap:14px;padding:14px 20px;border:1px solid var(--line2);border-radius:12px;background:var(--surface);transition:transform .3s,border-color .3s}
.ltag:hover{transform:translateY(-3px) rotate(-1.5deg);border-color:var(--mint)}
.ltag .hole{width:9px;height:9px;border-radius:50%;border:1px solid var(--muted);flex:none}
.ltag .k{font-size:10px}
.ltag .v{margin:3px 0 0;font-weight:500;font-size:15.5px}
.quotes{display:flex;flex-wrap:wrap;gap:18px}
.quotes figure{flex:1 1 280px;min-width:0;margin:0;padding:30px;border-radius:20px;background:var(--surface);border:1px solid var(--line);display:flex;flex-direction:column;justify-content:space-between;gap:26px}
.quotes blockquote{margin:0;font-family:var(--tight);font-weight:400;font-size:22px;line-height:1.32;letter-spacing:-.015em}
.quotes figcaption{font-size:14px;line-height:1.5;color:var(--muted)}
.quotes strong{color:var(--text);font-weight:500}

/* ================= CAMP ================= */
.camp{position:relative;height:780px;overflow:hidden;background:#0B0B0C}
.camp > svg{position:absolute;inset:0;width:100%;height:100%}
.flame{animation:flick .17s ease-in-out infinite alternate;transform-origin:50% 100%;transform-box:fill-box}
.flame2{animation-duration:.23s}
@keyframes flick{from{transform:scaleY(1) skewX(-3deg)}to{transform:scaleY(1.1) skewX(3deg)}}
.fireglow{animation:fg 1.6s ease-in-out infinite alternate}
@keyframes fg{from{opacity:.12}to{opacity:.24}}
.tw{animation:tw 2.6s ease-in-out infinite alternate}.tw2{animation-duration:3.7s}
@keyframes tw{from{opacity:.25}to{opacity:1}}
.camp-copy{position:relative;z-index:2;max-width:860px;margin:0 auto;padding:120px 24px 0;text-align:center}
.camp h2{font-size:clamp(46px,7vw,100px)}


/* ---------- tablets in portrait and phones ---------- */
@media (max-width:1000px), (orientation:portrait) and (max-width:1200px){
  .hero{height:auto;min-height:0}
  .frame{grid-template-columns:1fr;height:auto}
  .panel{padding-bottom:10px}
  .panel-body{padding:44px 0 26px}
  .strava{height:min(140vw,820px);min-height:560px}
  .hint{display:none}
}
@media (max-width:640px){
  .hero{padding:8px}
  .frame{border-radius:22px}
  .nav-links{display:none}
  .nav{justify-content:space-between}

  .card{position:relative;left:auto;top:auto;width:auto;margin:0 8px 8px;display:none}
  .card.open{display:block}
  .tag.tip{display:none}
}
@media (prefers-reduced-motion:reduce){
  .in,.map > img,.beam,.dust,.hello .hand svg,.flame,.fireglow,.tw{animation:none;opacity:1;transform:none}
  .reveal{opacity:1;transform:none}
}

/* ================= THEME TOGGLE ================= */
body,.frame,.panel,.card,.tag,.proj,.ltag,.quotes figure,.icon-btn,.btn,.approach,.camp{transition:background-color .5s,color .5s,border-color .5s}
.h1a{color:#F7F6F5}
.icon-btn{color:var(--text)}
.pin .ico{color:var(--ink-on-photo)}

/* ================= LIGHT ================= */
[data-theme="light"] .h1a{color:#161616}
[data-theme="light"] .frame{background:#FFFFFF}
[data-theme="light"] .frame-bg{filter:blur(46px) saturate(1.05) brightness(1.35);opacity:.55}
[data-theme="light"] .panel{background:radial-gradient(70% 55% at 45% -5%,rgba(255,122,0,.55),rgba(255,122,0,0) 70%),linear-gradient(180deg,rgba(255,255,255,.55),rgba(252,251,250,.92))}
[data-theme="light"] .beam{background:linear-gradient(180deg,rgba(255,122,0,.45),rgba(255,122,0,0))}
[data-theme="light"] .dust{background:#FF8F1F;box-shadow:0 0 6px rgba(255,143,31,.6)}
[data-theme="light"] .icon-btn{background:rgba(255,255,255,.75)}
[data-theme="light"] .hello{background:rgba(255,255,255,.7)}
[data-theme="light"] .hello strong,[data-theme="light"] .intro strong{color:var(--text)}
[data-theme="light"] .hello .hand{background:rgba(255,143,31,.2)}
[data-theme="light"] .hello .hand svg{stroke:#B85A00}
[data-theme="light"] .map-shade{background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,0) 30%)}
[data-theme="light"] .tag{background:rgba(255,255,255,.82);color:var(--soft)}
[data-theme="light"] .tag svg{stroke:#B85A00}
[data-theme="light"] .tag.def em{color:#B85A00!important}
[data-theme="light"] .card{background:rgba(255,255,255,.88);border-color:rgba(224,106,0,.28);box-shadow:0 30px 60px -24px rgba(20,20,22,.35)}
[data-theme="light"] .pin .drop{background:rgba(255,255,255,.92);border-color:rgba(20,20,22,.35)}
[data-theme="light"] .pin.on .drop{background:var(--mint);border-color:#161616}
[data-theme="light"] .work{background:radial-gradient(60% 50% at 50% 0%,rgba(255,143,31,.16),transparent 70%)}
[data-theme="light"] .proj{box-shadow:0 20px 40px -30px rgba(20,20,22,.25)}
[data-theme="light"] .proj:hover{border-color:rgba(224,106,0,.35);box-shadow:0 30px 60px -30px rgba(224,106,0,.35)}
[data-theme="light"] #sys .e{stroke:rgba(20,20,20,.18)}
[data-theme="light"] #sys .e.hot{stroke:#E06A00;filter:none}
[data-theme="light"] #sys .node circle{stroke:rgba(20,20,20,.2)}
[data-theme="light"] #sys .node.hot circle{stroke:#E06A00;fill:#FFF0E8}
[data-theme="light"] #sys .hub{fill:#FFFFFF;stroke:#E06A00}
[data-theme="light"] #sys .hubtxt,[data-theme="light"] #sys .flow{fill:#B85A00}
[data-theme="light"] .ltag:hover{border-color:#E06A00}
/* daybreak at camp */
[data-theme="light"] .camp{background:#F3EFEA}
[data-theme="light"] .camp .c-sky{fill:#F3EFEA}
[data-theme="light"] .camp .c-halo{fill:rgba(244,210,140,.14)}
[data-theme="light"] .camp .c-stars,[data-theme="light"] .camp .c-cut{opacity:0}
[data-theme="light"] .camp .c-moon{fill:#F2C979}
[data-theme="light"] .camp .c-far{fill:#E6DED6}
[data-theme="light"] .camp .c-near{fill:#D7CBBF}
[data-theme="light"] .camp .c-ground{fill:#CBBBAA}
[data-theme="light"] .camp .c-tent{fill:#6B5A4E}
[data-theme="light"] .camp .c-bike{stroke:#8A7A6E}
[data-theme="light"] .camp .fireglow{opacity:.18}
[data-theme="light"] .camp .glow{text-shadow:none}

/* ================= STRAVA SCREEN ================= */
.strava{position:relative;z-index:1;margin:10px;border-radius:20px;overflow:hidden;display:flex;flex-direction:column;background:#141415;border:1px solid var(--line2)}
.strava .map{margin:0;border-radius:0;flex:1;min-height:0}
.sv-head{display:flex;align-items:center;gap:12px;padding:14px 16px 4px}
.sv-av{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--mint);color:#fff;font-size:13px;font-weight:600;flex:none}
.sv-who b{display:block;font-size:14.5px;font-weight:500}
.sv-who small{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}
.sv-pill{white-space:nowrap;flex:none;margin-left:auto;margin-right:52px;font-size:12px;font-weight:500;padding:6px 10px;border-radius:999px;background:rgba(255,122,0,.14);color:var(--accent)}
.sv-title{margin:4px 16px 12px;font-family:var(--tight);font-weight:500;font-size:22px;letter-spacing:-.02em}
.sv-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.3fr);gap:14px;align-items:end;padding:14px 16px 16px;border-top:1px solid var(--line)}
.sv-stats div{min-width:0}
.sv-stats small{display:block;font-size:11.5px;color:var(--muted);margin-bottom:3px}
.sv-stats strong{font-family:var(--tight);font-weight:500;font-size:20px;letter-spacing:-.02em;white-space:nowrap}
.sv-elev{display:block;width:100%;height:40px}
[data-theme="light"] .strava{background:#FFFFFF}
@media (max-width:640px){
  .strava{margin:8px;border-radius:16px}
  .sv-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sv-elev{grid-column:1/-1;height:30px}
  .sv-stats strong{font-size:17px}
  .sv-pill{margin-right:48px}
}
.pin.on .ico svg{stroke:#fff!important}
.map > img{filter:saturate(.75) contrast(1.05) brightness(.9)}

/* ================= V12 ================= */
.hero{padding:0}
.frame{border:0;border-radius:0;background:transparent}
.panel{background:transparent}
.beam{opacity:.55}
.blank-zone{position:relative;z-index:1;display:grid;place-items:center;padding:40px}
.blank{position:absolute;border-radius:22px;background:linear-gradient(160deg,rgba(255,255,255,.06),rgba(255,255,255,.02));border:1px solid var(--line2);box-shadow:0 40px 80px -40px rgba(0,0,0,.7),inset 0 1px 0 rgba(255,255,255,.06);padding:18px 20px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.blank .mono{font-size:10.5px}
.b1{width:min(380px,58%);aspect-ratio:4/5;rotate:-4deg;translate:-22% -4%}
.b2{width:min(300px,46%);aspect-ratio:4/5;rotate:5deg;translate:30% 12%}
.pop-in{opacity:0;animation:popin 1s cubic-bezier(.2,1.3,.35,1) forwards}
.b1.pop-in{animation-delay:.5s}.b2.pop-in{animation-delay:.8s}
@keyframes popin{from{opacity:0;transform:translateY(40px) scale(.92)}to{opacity:1;transform:none}}
[data-theme="light"] .blank{background:linear-gradient(160deg,#FFFFFF,#FBF8F4);box-shadow:0 40px 80px -44px rgba(20,20,22,.35)}
[data-theme="light"] .frame,[data-theme="light"] .panel{background:transparent}
.thumb{border-radius:50%!important}
.thumb.on{border-color:var(--mint)!important;box-shadow:0 0 0 6px rgba(255,122,0,.18),0 0 34px rgba(255,122,0,.5)!important}
@media (max-width:1000px), (orientation:portrait) and (max-width:1200px){
  .blank-zone{min-height:min(110vw,560px)}
}
[data-theme="light"] .beam{opacity:.25}
.wlink{position:absolute;z-index:2;border-top:1.5px dashed var(--mint);pointer-events:none;transition:opacity .3s}
.feature{transition:box-shadow .4s}
.feature:hover{box-shadow:0 0 0 1px rgba(255,122,0,.35),0 40px 80px -36px rgba(0,0,0,.6)}

/* ================= HI RIDE + PHOTO ================= */
.photo-card{position:absolute;margin:0;width:min(300px,44%);aspect-ratio:3/4.2;border-radius:22px;overflow:hidden;rotate:6deg;translate:42% -10%;box-shadow:0 40px 80px -36px rgba(0,0,0,.75);border:1px solid var(--line2);background:#1E1E20}
.photo-card img{width:100%;height:100%;object-fit:cover;object-position:50% 30%}
.photo-card figcaption{position:absolute;left:12px;bottom:12px;font-size:12px;font-weight:500;padding:6px 10px;border-radius:999px;background:rgba(10,10,11,.65);color:#fff;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.photo-card.pop-in{animation-delay:.45s}
.hr-card{position:absolute;z-index:2;width:min(360px,62%);rotate:-3deg;translate:-24% 8%;background:#1B1B1D;color:var(--text);border-radius:16px;overflow:hidden;border:1px solid var(--line2);box-shadow:0 40px 80px -30px rgba(0,0,0,.8),0 0 0 1px rgba(255,122,0,.08)}
.hr-card.pop-in{animation-delay:.8s}
.hr-head{display:flex;align-items:center;gap:10px;padding:14px 16px 10px}
.hr-av{width:36px;height:36px;border-radius:50%;background:var(--mint);color:#fff;display:grid;place-items:center;font-weight:700;font-size:15px}
.hr-who b{display:block;font-size:14px;font-weight:600}
.hr-who span{font-size:12px;color:var(--muted)}
.hr-title{font-family:var(--sans);font-size:18px;font-weight:600;letter-spacing:0;padding:0 16px 8px;margin:0}
.hr-about{padding:0 16px 14px;margin:0;font-size:14px;line-height:1.45;color:var(--soft)}
.hr-map{position:relative;height:clamp(180px,24vh,260px)}
.hr-map svg{display:block;width:100%;height:100%}
.hm-ground{fill:#232326}.hm-water{fill:#1D3442}.hm-park{fill:#22352A}.hm-street{stroke:#3A3A40}.hm-main{stroke:#5A4A2A}.hm-label{fill:#77777F}
[data-theme="light"] .hr-card{background:#fff;box-shadow:0 30px 60px -30px rgba(20,20,22,.3),0 1px 3px rgba(0,0,0,.06)}
[data-theme="light"] .hm-ground{fill:#ece9e2}[data-theme="light"] .hm-water{fill:#a9d3ea}[data-theme="light"] .hm-park{fill:#c8e2b4}[data-theme="light"] .hm-street{stroke:#fff}[data-theme="light"] .hm-main{stroke:#f7d88b}[data-theme="light"] .hm-label{fill:#8a8a8a}
[data-theme="light"] .photo-card{box-shadow:0 40px 80px -40px rgba(20,20,22,.4)}
.hr-replay{position:absolute;right:10px;bottom:10px;border:0;border-radius:16px;padding:6px 12px;font-size:12px;font-weight:600;color:#242428;background:rgba(255,255,255,.92);box-shadow:0 1px 4px rgba(0,0,0,.15);cursor:pointer;opacity:0;transition:opacity .3s}
.hr-replay.show{opacity:1}
.hr-foot{display:flex;align-items:center;gap:8px;padding:10px 12px;font-size:13px;color:var(--muted);border-top:1px solid var(--line)}
.hr-act{border:1px solid var(--line2);background:transparent;border-radius:22px;min-width:44px;height:40px;padding:0 12px;font-size:18px;cursor:pointer;display:inline-flex;align-items:center;gap:4px;transition:transform .15s,background .2s,border-color .2s}
.hr-act small{font-size:13px;color:var(--soft);font-weight:600}
.hr-act:hover{transform:translateY(-1px)}
.hr-act:active{transform:scale(.92)}
.hr-act.on{background:rgba(255,122,0,.14);border-color:var(--mint)}
.hr-comments{margin-left:auto}
@media (max-width:1000px), (orientation:portrait) and (max-width:1200px){
  .blank-zone{min-height:min(150vw,640px)}
  .hr-card{width:min(360px,74%);translate:-14% 10%}
  .photo-card{width:min(280px,52%);translate:36% -16%}
}

/* ===== V15: hero fits every height ===== */
.hero{height:auto!important;min-height:100vh;min-height:100svh}
.frame{height:auto!important;min-height:inherit}
.hero h1{font-size:clamp(36px,min(4.6vw,8.6vh),76px)}
.panel-body{padding:24px 0}
.blank-zone{overflow:visible;padding:20px;position:relative;min-height:420px}
.duo{position:absolute;left:50%;top:50%;width:620px;height:640px;flex:none;transform-origin:50% 50%;transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.duo .photo-card{width:300px;left:280px;top:10px;translate:none}
.duo .hr-card{width:360px;left:0;top:120px;translate:none}
.duo .hr-map{height:236px}
.duo.narrow{width:420px;height:660px}
.duo.narrow .photo-card{width:250px;left:170px;top:0}
.duo.narrow .hr-card{width:350px;left:0;top:170px}

/* ===== V15: project card in the HI card style ===== */
.feature.fc{display:block;background:#1B1B1D;border-radius:16px;border:1px solid var(--line2);box-shadow:0 40px 80px -30px rgba(0,0,0,.8),0 0 0 1px rgba(255,122,0,.08)}
.fc-head{display:flex;align-items:center;gap:10px;padding:14px 16px 10px}
.fc-av{width:36px;height:36px;border-radius:50%;background:var(--mint);color:#fff;display:grid;place-items:center;font-weight:700;font-size:13px;flex:none}
.fc-who b{display:block;font-size:14px;font-weight:600}
.fc-who span{font-size:12px;color:var(--muted)}
.fc-pill{margin-left:auto;font-size:12px;font-weight:600;padding:5px 10px;border-radius:999px;background:rgba(255,122,0,.14);color:var(--accent);white-space:nowrap}
.fc-title{font-family:var(--sans);font-size:clamp(16px,1.4vw,19px);font-weight:600;letter-spacing:0;padding:0 16px 6px;margin:0;line-height:1.25}
.fc-about{padding:0 16px 12px;margin:0;font-size:13.5px;line-height:1.45;color:var(--soft);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fc-media{position:relative;overflow:hidden;background:#232326}
.fc-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1.2s cubic-bezier(.2,.8,.2,1)}
.feature.fc:hover .fc-media img{transform:scale(1.04)}
.fc-foot{display:flex;align-items:center;gap:8px;padding:10px 12px;border-top:1px solid var(--line)}
.fc-go{font-size:14px!important;font-weight:600;text-decoration:none;color:var(--text);gap:8px!important;background:rgba(255,122,0,.14)!important;border-color:var(--mint)!important}
.fc-nav{padding:0!important;width:40px;justify-content:center}
.fc-go + .fc-nav{margin-left:auto}
.fc-nav:disabled{opacity:.35;cursor:default;transform:none}
.fc .swap{animation:swap .55s cubic-bezier(.2,.8,.2,1)}
[data-theme="light"] .feature.fc{background:#fff;box-shadow:0 30px 60px -30px rgba(20,20,22,.3),0 1px 3px rgba(0,0,0,.06)}
[data-theme="light"] .fc-media{background:#ece9e2}
@media (min-width:700px){
  .work-head.side{position:absolute;padding:0;margin:0;max-width:none;display:block}
  .work-head.side .hint2{margin-top:10px}
  .work-head.side h2{white-space:nowrap;font-size:clamp(28px,min(3vw,5.6vh),50px)}
}

/* ===== V15: the backpack ===== */
.pack-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(30px,5vw,80px);align-items:center}
.pack-copy p{margin:18px 0 0;max-width:420px;font-size:16.5px;line-height:1.6;color:var(--soft)}
.pack-copy .pack-hint{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--accent)}
.tool-list{display:none;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:18px 0 0}
.tool-list li{font-size:13px;padding:7px 12px;border-radius:999px;border:1px solid var(--line2);background:var(--surface)}
.bag{position:relative;width:min(540px,100%);aspect-ratio:520/540;margin:0 auto;container-type:inline-size}
.bag svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.bag-front{z-index:3}
.bb-body{fill:#2A2A2E}.bb-mouth{fill:#141416}.bb-handle,.bb-strap{stroke:#3A3A40}
.bf-body{fill:#FF7A00}.bf-rim{stroke:#FFB062}.bf-stitch{stroke:rgba(255,255,255,.45)}.bf-pocket{fill:#E86A00}.bf-flap{fill:#F27300}
.bf-buckle-s{fill:#2A2A2E}.bf-buckle{fill:none;stroke:#1B1B1D;stroke-width:3}.bf-patch{fill:#1B1B1D}.bf-patch-t{fill:#FFB062}
[data-theme="light"] .bb-body{fill:#D9D2C8}[data-theme="light"] .bb-mouth{fill:#8E857A}[data-theme="light"] .bb-handle,[data-theme="light"] .bb-strap{stroke:#C4BBAF}
.tools{list-style:none;margin:0;padding:0;position:absolute;inset:0;z-index:2}
.tool{position:absolute;width:11.6cqw;height:31cqw;border-radius:2cqw;background:var(--surface);border:1px solid var(--line2);display:flex;flex-direction:column;align-items:center;gap:1cqw;padding:1.6cqw .8cqw;cursor:pointer;outline:none;
  box-shadow:0 1.6cqw 3cqw -1cqw rgba(0,0,0,.5);transform:translateY(34cqw);opacity:0;transition:transform .7s cubic-bezier(.2,1.3,.35,1) calc(var(--d) * 70ms),opacity .4s calc(var(--d) * 70ms),border-color .3s}
.tool.back{top:15.5cqw;rotate:-2deg}
.tool.front{top:24.5cqw;width:12.6cqw;rotate:2deg}
.bag.seen .tool{transform:none;opacity:1}
.bag.seen .tool:hover,.bag.seen .tool:focus-visible,.bag.seen .tool.up{transform:translateY(-11cqw);border-color:var(--mint);z-index:5;transition-delay:0s}
.tool .logo-slot{width:6.6cqw;height:6.6cqw;border-radius:50%;display:grid;place-items:center;background:var(--mint);color:#fff;font-family:var(--tight);font-weight:600;font-size:2.5cqw;flex:none;overflow:hidden}
.tool .logo-slot img{width:100%;height:100%;object-fit:contain}
.tool.front .logo-slot{background:#2A2A2E;color:#FFB062;border:1px solid rgba(255,122,0,.35)}
.tool b{font-size:1.9cqw;font-weight:600;text-align:center;line-height:1.15}
.tool em{font-style:normal;font-size:1.6cqw;color:var(--muted);text-align:center;line-height:1.2;opacity:0;transition:opacity .3s}
.tool:hover em,.tool:focus-visible em,.tool.up em{opacity:1}
[data-theme="light"] .tool{box-shadow:0 1.6cqw 3cqw -1.4cqw rgba(20,20,22,.3)}
[data-theme="light"] .tool.front .logo-slot{background:#fff}
@media (max-width:820px){
  .pack-grid{grid-template-columns:1fr}
  .tool-list{display:flex}
  .tool b{font-size:2.6cqw}.tool em{display:none}
}

/* ===== V18: top-view cyclists on the approach route ===== */
.tv{pointer-events:none}.tv2{opacity:.55}
.tv-tyre{fill:var(--text)}
.tv-frame{stroke:var(--muted);stroke-width:1.4;stroke-linecap:round}
.tv-bar{stroke:var(--text);stroke-width:1.6;stroke-linecap:round}
.tv-arm{fill:none;stroke:var(--mint);stroke-width:1.6;stroke-linecap:round}
.tv-body{fill:var(--mint)}
.tv-head{fill:var(--text)}
.tv-stripe{stroke:var(--mint);stroke-width:1.1;stroke-linecap:round}
/* ===== V17: the backpack that packs itself ===== */
.pack-scroll{position:relative}
.pack-copy p + p{margin-top:12px}
.pbag{position:relative;width:min(520px,100%,calc(82vh * 1122 / 1402));aspect-ratio:1122/1402;margin:0 auto;transition:transform .25s cubic-bezier(.2,1.6,.4,1)}
.pbag.bump{transform:translateY(1.2%) scaleY(.985)}
.pbag img{position:absolute;display:block;user-select:none;-webkit-user-select:none}
.pbag-base,.pbag-front{left:0;top:0;width:100%;height:100%;pointer-events:none}
.pbag-base{z-index:1}.pbag-front{z-index:20}
.ptile{z-index:5;height:auto;opacity:0}
.pinside{z-index:2;height:auto;opacity:0}
@media (min-width:821px){
  .pack-scroll{height:230vh}
  .pack-stick{position:sticky;top:0;height:100vh;height:100svh;display:flex;align-items:center}
  .pack-stick .pack-grid{width:100%}
}
@media (max-width:820px){ .pbag{width:min(420px,88%)} }
@media (prefers-reduced-motion:reduce){.pop-in{animation:none;opacity:1}.tool{transition:none}}
