/* xX Jake's Page Xx — sibling of therealmelindaroberts.com: same bones, dark blue / chrome / flame skin */

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:18px}
section[id]{scroll-margin-top:18px}
body{margin:0;background:#070D1F}
a{color:#FFB15C}a:hover{color:#FFC43A}
/* inline prose links keep their line box but get a 44 px tap area */
.intro a,.currently a{display:inline-block;padding:13px 0;margin:-13px 0}
.foot a{display:inline-block;padding:15px 0;margin:-15px 0}
:focus-visible{outline:3px solid #FFC43A;outline-offset:2px}

.site{font-family:Verdana,Tahoma,Geneva,sans-serif;color:#E6EEFF;font-size:15px;min-height:100vh;background-color:#070D1F;background-image:linear-gradient(rgba(77,163,255,.10) 1px,transparent 1px),linear-gradient(90deg,rgba(77,163,255,.10) 1px,transparent 1px),radial-gradient(#FF7A1A 1.2px,transparent 1.8px);background-size:36px 36px,36px 36px,108px 108px;background-position:0 0,0 0,54px 54px;padding:24px 16px 56px}
.wrap{max-width:1100px;margin:0 auto;display:flex;flex-direction:column;gap:20px}
.pix{font-family:'Pixelify Sans',system-ui,sans-serif}
.silk{font-family:'Silkscreen',monospace}
.chromef{font-family:'Audiowide',system-ui,sans-serif}
.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}
.skip{position:absolute;left:-9999px;top:8px;z-index:10;padding:10px 14px;background:#FFC43A;border:3px solid #0B1430;border-radius:6px;color:#0B1430;font-family:'Silkscreen',monospace}
.skip:focus{left:16px}

/* boxes: navy panels with a chrome bevel and an electric-blue drop */
.box{background:#0F1B3D;border:3px solid #C9D6EE;border-radius:6px;box-shadow:5px 5px 0 #2E6BFF}
.boxhd{display:flex;align-items:center;gap:8px;padding:6px 12px;background:linear-gradient(180deg,#F7FAFF 0%,#C9D6EE 48%,#8FA3C9 52%,#DDE6F5 100%);border-bottom:3px solid #C9D6EE;color:#0B1430;font-family:'Silkscreen',monospace;font-size:15px;margin:0;font-weight:400}
.boxhd .hint{margin-left:auto;font-size:12px}
.boxbd{padding:20px}
.dots{border:2px dashed #4DA3FF;border-radius:6px}

/* section headers blink when a link jumps to the section */
.boxhd.flash{animation:hdflash .4s steps(1) 7}
@keyframes hdflash{0%{background:linear-gradient(180deg,#F7FAFF 0%,#C9D6EE 48%,#8FA3C9 52%,#DDE6F5 100%)}50%{background:#FF7A1A}}

/* placeholder copy, marked until Jacob supplies the real thing */
.ph{display:inline-flex;align-items:center;height:20px;padding:0 6px;margin-left:6px;border:2px dashed #FF7A1A;border-radius:4px;color:#FFB15C;font-family:'Silkscreen',monospace;font-size:9px;letter-spacing:.06em;vertical-align:middle;text-transform:uppercase}

/* blinkies */
.blinkie{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:6px;text-align:center;line-height:1.15;width:100%;max-width:200px;height:50px;min-height:50px;max-height:50px;overflow:hidden;padding:3px 6px;text-decoration:none;border:2px solid #C9D6EE;color:#0B1430;font-family:'Silkscreen',monospace;font-size:12px;letter-spacing:.02em}
.blinkie.sm{width:auto;max-width:none;padding:0 12px;height:30px;min-height:30px;max-height:30px;font-size:11px}
a.blinkie:hover,a.blinkie:focus-visible{outline:3px solid #FFC43A;outline-offset:2px}
.wiz{width:16px;height:17px;flex:0 0 auto;image-rendering:pixelated;vertical-align:-3px}
.blinkie.dark{color:#E6EEFF}
.blink{animation:blink 1.2s steps(2,start) infinite}
@keyframes blink{50%{opacity:.55}}

/* banner */
.banner{overflow:hidden}
.marq{overflow:hidden;white-space:nowrap;padding:0;line-height:30px;background:#000000;color:#FFB15C;font-size:13px;border-bottom:3px solid #C9D6EE}
.marq-in{display:inline-block;vertical-align:top;animation:scroll 30s linear infinite}
.marq-in span{padding-right:40px}
.marq a{display:inline-block;padding:7px 4px;color:#4DA3FF;text-decoration:underline;text-underline-offset:2px}
.marq a:hover{color:#CFE3FF}
.marq:hover .marq-in,.marq:focus-within .marq-in{animation-play-state:paused}
@keyframes scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.hero{container-type:inline-size;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 20px;padding:28px 20px 20px;background:radial-gradient(ellipse at 50% 120%,rgba(255,122,26,.35) 0%,rgba(255,122,26,0) 55%),linear-gradient(180deg,#132352 0%,#0B1430 100%)}
/* one line always: the title is ~9.4em wide in Audiowide, so cap it to the banner width */
.hero h1{margin:0;font-size:min(clamp(36px,7vw,76px),calc((100cqi - 24px) / 9.6));white-space:nowrap;font-weight:400;line-height:1.1;text-align:center;padding:0 8px}
.tagline{margin:0;width:100%;text-align:center;font-size:14px;color:#CFE3FF}
.hero-blinkies{width:100%;display:flex;flex-wrap:wrap;justify-content:center;gap:8px;padding-top:6px}
.chrome{background:linear-gradient(180deg,#FFFFFF 0%,#DDE6F5 35%,#7F93BB 50%,#F7FAFF 52%,#B8C6E0 75%,#FFFFFF 100%);background-size:100% 200%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:shine 5s linear infinite;filter:drop-shadow(2px 0 0 #0B1430) drop-shadow(-2px 0 0 #0B1430) drop-shadow(0 2px 0 #0B1430) drop-shadow(0 -2px 0 #0B1430) drop-shadow(4px 4px 0 #FF7A1A)}
@keyframes shine{to{background-position:0 200%}}
.spark{animation:twinkle 1.8s ease-in-out infinite}
@keyframes twinkle{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.3;transform:scale(.6)}}

/* layout */
.cols{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}
.side{flex:1 1 230px;display:flex;flex-direction:column;gap:20px}
.main{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:20px}

/* sidebar */
.navlist{display:flex;flex-direction:column;gap:2px;padding:10px}
.navlink{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;border:2px solid transparent;border-radius:4px;color:#E6EEFF;text-decoration:none;font-family:'Pixelify Sans',sans-serif;font-size:20px}
.navlink:hover{background:#162A5C;border-color:#4DA3FF;color:#FFFFFF}
.currently{display:flex;flex-direction:column;gap:10px;font-size:14px;line-height:1.5}
.currently strong{color:#CFE3FF}
.status{color:#FFB15C;font-weight:700}
.blinkie-stack{display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px}
.links{display:flex;flex-direction:column;gap:8px;padding:14px}
.links .btn{font-size:17px;justify-content:center;flex-wrap:wrap;text-align:center}
.btn.sis{background:#FFB3E0;color:#3B1F5C;border-color:#3B1F5C;box-shadow:4px 4px 0 #3B1F5C}
.links .btn.sis{white-space:nowrap;font-size:15px}
.btn.sis:hover{background:#FFD1EC;color:#3B1F5C}

/* controls */
.toy{min-height:44px;padding:0 14px;border:2px solid #C9D6EE;border-radius:999px;background:#0B1430;color:#E6EEFF;font-family:'Silkscreen',monospace;font-size:13px;cursor:pointer}
.toy:hover{background:#162A5C}
.chip{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border:2px solid #C9D6EE;border-radius:999px;background:#162A5C;color:#E6EEFF;font-family:'Silkscreen',monospace;font-size:12px}
.bar{height:18px;border:2px solid #C9D6EE;background:#070D1F;border-radius:3px;overflow:hidden}
.barfill{height:100%;background:repeating-linear-gradient(90deg,#FF7A1A 0 8px,#FFC43A 8px 16px)}
.btn{min-height:48px;padding:0 24px;border:3px solid #C9D6EE;border-radius:6px;background:#FF7A1A;color:#0B1430;font-family:'Pixelify Sans',sans-serif;font-size:20px;font-weight:600;box-shadow:4px 4px 0 #0B1430;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center}
.btn:hover{background:#FFC43A;color:#0B1430}
.btn:active{transform:translate(2px,2px);box-shadow:2px 2px 0 #0B1430}
.btn[disabled]{opacity:.6;cursor:progress}
.btn.blue{background:#4DA3FF}
.btn.blue:hover{background:#8CC6FF}
.bul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px;line-height:1.55}
.bul li,.facts li{position:relative;padding-left:22px}
.bul li::before,.facts li::before{content:'✧';position:absolute;left:2px;top:0;color:#FFC43A;font-size:14px;line-height:inherit}

/* the doll */
.dollsec{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start}
.stage{flex:0 0 auto;width:fit-content;max-width:100%;display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 12px 10px;border:3px solid #C9D6EE;border-radius:10px;background:radial-gradient(ellipse at 50% 30%,#2A4A8F 0%,#132352 45%,#070D1F 100%);position:relative;overflow:visible;margin:0 auto}
.stage .spark{position:absolute}
.stage::after{content:'';position:absolute;left:10px;right:10px;bottom:10px;height:14px;border-radius:50%;background:radial-gradient(ellipse at 50% 50%,rgba(255,122,26,.45) 0%,rgba(255,122,26,0) 70%);pointer-events:none}
.pd{position:relative;max-width:100%;line-height:0}
.pd canvas{display:block;margin:0 auto;image-rendering:pixelated;cursor:pointer;border-radius:8px;outline:none}
.pd canvas:focus-visible{outline:3px dashed #FFC43A;outline-offset:4px}
.pd-bubble{position:absolute;z-index:2;width:max-content;max-width:min(260px,80vw);background:#FFFFFF;border:3px solid #0B1430;border-radius:14px;padding:6px 12px;font-family:'Pixelify Sans',system-ui,sans-serif;font-size:18px;line-height:1.2;color:#0B1430;box-shadow:3px 3px 0 #0B1430;pointer-events:none;white-space:normal;text-align:center;overflow-wrap:anywhere}
.pd-bubble::after{content:'';position:absolute;left:50%;margin-left:-6px;bottom:-11px;border:6px solid transparent;border-top:8px solid #0B1430;border-bottom:0}
.pd-bubble[hidden]{display:none}
/* outfit picker inside the stage, under him (as on Melinda's page); the pressed pill is the look he's wearing */
.outfits{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:4px;max-width:100%;position:relative;z-index:2}
.outfits button{font-family:'Pixelify Sans',system-ui,sans-serif;font-size:16px;color:#E6EEFF;background:#0B1430;border:2px solid #C9D6EE;border-radius:999px;padding:0 14px;min-height:44px;cursor:pointer;box-shadow:2px 2px 0 #2E6BFF}
.outfits button:hover{background:#162A5C}
.outfits button[aria-pressed="true"]{background:#FFC43A;color:#0B1430;border-color:#0B1430}
.outfits button:focus-visible{outline:3px solid #FFC43A;outline-offset:2px}
.dollsec .intro{flex:999 1 280px;min-width:0;display:flex;flex-direction:column;gap:16px}
.intro h3{margin:0;font-size:30px;color:#FFC43A;font-weight:700}
.intro p{margin:0;line-height:1.6}
.row{display:flex;flex-wrap:wrap;gap:8px}

/* about */
.about{display:flex;flex-wrap:wrap;gap:24px}
.about-text{flex:999 1 320px;min-width:0;display:flex;flex-direction:column;gap:14px;line-height:1.65}
.about-text p{margin:0}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.stats{flex:1 1 240px;display:flex;flex-direction:column;gap:12px;padding:16px;background:#0B1430}
.stats h3{margin:0;font-weight:400;font-size:14px;color:#CFE3FF}
.stats .facts-hd{padding-top:6px}
.stat{display:flex;flex-direction:column;gap:4px;font-size:13px}
.facts{margin:0;padding:0;list-style:none;font-size:13px;line-height:1.5}

/* work / projects accordion */
.jobs{display:flex;flex-direction:column;gap:12px}
.job{background:#0B1430}
.job-hd{margin:0;font-size:inherit;font-weight:400}
.job-btn{width:100%;display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;padding:14px 16px;min-height:44px;background:none;border:none;text-align:left;font:inherit;color:#E6EEFF;cursor:pointer}
.job-btn:hover .job-role{color:#FFC43A}
.job-role{flex:999 1 260px;font-size:22px;font-weight:600}
.job-meta{font-size:12px;color:#9FB3D9}
.job-glyph{font-size:24px;width:20px;text-align:center;color:#FF7A1A}
.job-body{padding:0 16px 16px;display:flex;flex-direction:column;gap:10px}
.job-body[hidden]{display:none}
.job-body p{margin:0;font-style:italic;color:#CFE3FF}
.job-body .btn{align-self:flex-start;min-height:40px;font-size:16px;padding:0 16px}
.job-body .btn.sis{min-height:48px;padding:0 24px;font-size:15px;white-space:nowrap}
.school{margin:4px 0 0;font-size:13px;color:#9FB3D9}

/* guestbook */
.gbwrap{display:flex;flex-direction:column;gap:20px}
.gb-list{display:flex;flex-direction:column;gap:10px}
.gb-list[hidden]{display:none}
.seg{display:flex;align-self:flex-start;border:3px solid #C9D6EE;border-radius:6px;overflow:hidden;box-shadow:4px 4px 0 #2E6BFF}
.seg-btn{flex:1 1 0;min-height:48px;padding:0 20px;border:0;background:#0B1430;color:#CFE3FF;font-family:'Pixelify Sans',sans-serif;font-size:19px;font-weight:600;white-space:nowrap;cursor:pointer}
.seg-btn+.seg-btn{border-left:3px solid #C9D6EE}
.seg-btn[aria-pressed="false"]:hover{background:#162A5C}
.seg-btn[aria-pressed="true"]{background:#FF7A1A;color:#0B1430}
.seg-btn:focus-visible{outline:3px solid #FFC43A;outline-offset:-5px}
.gb-empty{margin:0;font-size:12px;color:#9FB3D9}
.entry{padding:12px 14px;background:#0B1430;border:2px dashed #4DA3FF;border-radius:6px}
.entry-hd{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
.entry-name{font-size:20px;color:#FFC43A;font-weight:600}
.entry-at{font-size:10px;color:#9FB3D9}
.entry-msg{margin:6px 0 0;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.gb{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.gb[hidden]{display:none}
.gb .full{grid-column:1 / -1}
.gb-intro{margin:0;line-height:1.6}
.field{display:flex;flex-direction:column;gap:6px}
.field[hidden]{display:none}
.gb[data-mode="guestbook"] #f-name{grid-column:1 / -1}
.field label{font-family:'Silkscreen',monospace;font-size:13px;color:#CFE3FF}
.field input,.field textarea{font:inherit;padding:10px 12px;border:2px solid #C9D6EE;border-radius:4px;background:#070D1F;color:#E6EEFF;width:100%;min-height:44px}
.field input:focus,.field textarea:focus{outline:3px solid #FFC43A;outline-offset:1px}
.hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.gb-error{margin:0;color:#FFB15C;font-weight:700}
.gb-error:empty{display:none}
.thanks{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:24px;background:#0B1430}
.thanks[hidden]{display:none}
.thanks p{margin:0;font-size:26px;color:#FFC43A}

/* footer */
.foot{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.counter{display:flex;align-items:center;gap:8px;font-size:13px;color:#CFE3FF}
.counter span{padding:2px 8px;background:#000000;color:#7CFF9E;border:2px solid #C9D6EE;letter-spacing:.15em}
.foot small{font-size:12px;color:#9FB3D9}
.foot small a{color:#FFB3E0}

@media (max-width:520px){
  .hero{padding:24px 12px 18px}
  .gb{grid-template-columns:minmax(0,1fr)}
  .seg{align-self:stretch}
  .boxbd{padding:16px}
}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .boxhd.flash{animation:none;background:#FF7A1A}
  .blink,.chrome,.spark,.marq-in{animation:none}
}
